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
API documentation
Sphinx autogenerated API docs can be found HERE. Nothing fancy, but gets the job done.
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ed236985729074a8ecc31ac0283b12305acf1563a0dde2149da44c0db839ec |
|
MD5 | 64e25c7a4ed092ced78c923dd82684b2 |
|
BLAKE2b-256 | 6184e9a8feb9a3736d8c70d760b7b498976000e467369c7e9a62e79c516eff65 |
Close
Hashes for czech_covid19_data_api-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d72600f4d45cfa4841611cdc8d2b07d5d1fb9f8f39800219536422d9594820 |
|
MD5 | 8774c5cd325211d21188a792c9206278 |
|
BLAKE2b-256 | 1abefd2101e7ba5c476219dbb64ceb2b3cc008a442f973067534d71c226fe236 |