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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535282fb5e5e1f3e2b04b4b26ba9aeb02a7132b337a80a5ed10bdadf5fcee458 |
|
MD5 | 4e691f8e9441db4a6332067444a94211 |
|
BLAKE2b-256 | 2d2148059599c95513018c31f903ce3de56e9e7caa0c85472f0033ed8372c856 |
Close
Hashes for czech_covid19_data_api-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a70e4f719ed546b174d5f88361f85b57362297cbbd73d292bb4e8bf2a83b815 |
|
MD5 | 42b2e3020dc638cf1f45be137256b13b |
|
BLAKE2b-256 | 1fe02b6a8367b1e74cee821354619e44a85fa577dd7038f83eb3ab9121579f75 |