Skip to content

options call fails #35

@gaffe77

Description

@gaffe77

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions