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 covid-19-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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb113de203a1b56f025897097a2dd1b45f172c1c76d1c268d6d27b2f8afae45 |
|
MD5 | 2a258d6c4825b26a91ecd76de5af8c65 |
|
BLAKE2b-256 | 4c2bdbf376bf8e2434df6950ad1e185f2ba76d3b66696203c2eab5c39f22b814 |
Close
Hashes for czech_covid19_data_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f67b94c9bb6e8ff87617aea806a0390c186f86a1e018951645eb55b23c658a |
|
MD5 | 519d4f594ccb80981d168e20b932d3a7 |
|
BLAKE2b-256 | cd19e732e74923ec6a922d2ed4772e667a97ba7ada66daff41843b8e7ff3377a |