Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

options call fails #35

Open
gaffe77 opened this issue Apr 28, 2021 · 0 comments
Open

options call fails #35

gaffe77 opened this issue Apr 28, 2021 · 0 comments

Comments

@gaffe77
Copy link

gaffe77 commented Apr 28, 2021

The options call does not seem to work

Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from uk_covid19 import Cov19API
>>> from pprint import pprint
>>> options = Cov19API.options()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gigo/pheapi/uk_covid19/api_interface.py", line 272, in options
    response.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Resource Not Found for url: https://api.coronavirus.data.gov.uk/v1/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant