Coronavirus (COVID-19) in the UK - API Service¶
Software Development Kit for Python¶
This website provides documentations and examples for the Python SDK library entitled
uk-covid19, as published by Public Health England on Coronavirus (COVID-19) in the UK.
The API supplies the latest data for the COVID-19 outbreak in the United Kingdom. The endpoint for the data provided using this SDK is:
See the Developers Guide for additional information on the API and see a list of latest metrics.
The API responses are restricted to 1000 records per request. If you need more records,
you will need to use the
page query parameter to enable pagination.
As a bonus, the SDKs come with a built-in mechanism to bypass pagination restrictions in
the API and produce the entire data for a given combination of
structure in one go.
When accessing the API through one of the SDKs, you will always download the entire
dataset unless the
latest_by argument is defined.
- Getting started
- Coronavirus Dashboard API: Python SDK
Developed and maintained by Public Health England.
Copyright (c) 2020, Public Health England.