UKHSA-Internal / coronavirus-dashboard-api-python-sdk

Coronavirus (COVID-19) in the UK - API Service SDK for Python
https://coronavirus.data.gov.uk/
MIT License
67 stars 18 forks source link

latest_by="newCasesByPublishDate" not returning any data #34

Open keithellis74 opened 3 years ago

keithellis74 commented 3 years ago

I've had a script running for a while now, pulling down the latest data. However in the last couple of days the script has been hanging. I have tracked it down to the latest_by="newCasesByPublishDate" portion. If I remove this, it returns all the data, but I am no longer able to just pull in the latest data. Any idea what is going on?

The api call looks like

api = Cov19API(
        filters=filter, 
        structure=structure,
        latest_by="newCasesByPublishDate")
jonathancychow commented 3 years ago

Same here. It happened since 19/4. It stopped my dashboard from working, it would be nice if we know such change of behaviour in advance.