Skip to main content

czech-covid19-data-api

Code style: black

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)

Source distribution for czech-covid19-data-api 1.0.5
File Size Uploaded
czech-covid19-data-api-1.0.5.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for czech-covid19-data-api 1.0.5
File Interpreter ABI Platform
czech_covid19_data_api-1.0.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page