No project description provided
Project description
czech-covid19-data-api
API wrapper for official covid19 data. Written in Python. Data source https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19.
Installation
Just use:
pip install czech-covid19-data-api
How to use
Example 1: Get data in JSON format:
from czech_covid19_data_api.src import api
if __name__ == "__main__":
(status, data) = api.get_deaths_overview()
if status:
print(data)
Example 2: Get data in CSV format:
from covid19_api.src import api
if __name__ == "__main__":
(status, data) = api.get_deaths_overview(resource="/umrti.csv")
if status:
print(data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for czech-covid19-data-api-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aafd57eb1d7e6be40f3b1cafa0a826c290396f1dc3b6ff5671429325372966ab |
|
MD5 | fe4d69a2026766e1102460160cbd0171 |
|
BLAKE2b-256 | b5bd6b6fb960753b2775de38678f70d2a140000ba3ed5b647ce5619c778a9852 |
Close
Hashes for czech_covid19_data_api-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2e785a172428b130c241bae570f53ade5e8252684ff5fc4138d1e2449a3c3a |
|
MD5 | 414f3211325d3bac658ea1033ccdd60a |
|
BLAKE2b-256 | 00d694660b1d946de6c8434da2c3460e7a0b469f95f3286081ec853f03df6d79 |