This is a Python SDK for the COVID-19 API, as published by Public Health England on Coronavirus (COVID-19) in the UK.
Comprehensive documentations and examples for this library is available on the documentations website.
Similar libraries are also available for JavaScript, R, .Net, and Elixir.
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:
https://api.coronavirus.data.gov.uk/v1/data
See the Developers Guide for additional information on the API and see a list of latest metrics.
Python 3.7+ is required to install and use this library.
To install, please run:
pip install uk-covid19
You may install the library for a specific version of Python as follows:
python -m pip install uk-covid19
You can simply replace python
with a specific version for which you wish to install
the library - e.g. python3
or python3.8
.
Developed and maintained by Public Health England.
Copyright (c) 2020, Public Health England.