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 covid19_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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9771dce9fc2f29854de2a8612375616469b408de7b2b6f6d97b91ea11eedc25 |
|
MD5 | b87df17d307ace279aff5f78744d42be |
|
BLAKE2b-256 | 483976daedc4c7ac99c1f4b7d5c145b4bb2bc9f71e7730845d1d49751616f95e |
Close
Hashes for czech_covid19_data_api-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c31bf4208ec53a2a2e0fe7b30a62e51649b47e4258705f9759b63ad4905bb6a |
|
MD5 | b32e4555f047ce7c8b5332e02f70cf20 |
|
BLAKE2b-256 | 6a4914d4e9ffd7345f511288d018ea06d966d0764bee44462c3c4e7da0d120f2 |