Metadata-Version: 2.1
Name: czech-covid19-data-api
Version: 1.0.5
Summary: UNKNOWN
Home-page: https://github.com/radekBednarik/czech-covid19-data-api
Author: Radek 'bednaJedna' Bednarik
Author-email: bednarik.radek@gmail.com
License: UNKNOWN
Description: # czech-covid19-data-api
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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](https://www.sphinx-doc.org/en/master/index.html) autogenerated API docs can be found [HERE](https://czech-covid19-data-api.readthedocs.io/en/latest/index.html). 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)
        ```
        
Keywords: covid19 covid data czech Czechia public api wrapper python python3
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
