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)
Metadata
Release files for czech-covid19-data-api 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| czech-covid19-data-api-1.0.5.tar.gz | 3.2 kB | Without provenance | Details for czech-covid19-data-api-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| czech_covid19_data_api-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for czech_covid19_data_api-1.0.5-py3-none-any.whl |
Total release size: 6.4 kB
Release files / czech-covid19-data-api-1.0.5.tar.gz
| Download URL | czech-covid19-data-api-1.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7ed236985729074a8ecc31ac0283b12305acf1563a0dde2149da44c0db839ec
|
|
BLAKE2b-256 checksum How to use checksums |
6184e9a8feb9a3736d8c70d760b7b498976000e467369c7e9a62e79c516eff65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / czech_covid19_data_api-1.0.5-py3-none-any.whl
| Download URL | czech_covid19_data_api-1.0.5-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5d72600f4d45cfa4841611cdc8d2b07d5d1fb9f8f39800219536422d9594820
|
|
BLAKE2b-256 checksum How to use checksums |
1abefd2101e7ba5c476219dbb64ceb2b3cc008a442f973067534d71c226fe236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Security for czech-covid19-data-api 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.