/coronavirus-dashboard-api-python-sdk

Coronavirus (COVID-19) in the UK - API Service SDK for Python

Primary LanguagePythonMIT LicenseMIT

Coronavirus (COVID-19) in the UK - API Service

PyPi_Version PyPi_Status Format Supported_versions_of_Python Language grade: Python License

Software Development Kit (SDK) for Python

This is a Python SDK for the COVID-19 API, as published by Public Health England on Coronavirus (COVID-19) in the UK.

Documentation

Comprehensive documentations and examples for this library is available on the documentations website.

SDK for other languages

Similar libraries are also available for JavaScript, R, .Net, and Elixir.

The API

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.

Installation

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.