Getting Started
Python package to get information regarding the novel corona virus provided by Johns Hopkins university and worldometers.info
Full code on github
Requirements
python >= 3.10
How to install
pip install covid
Dependencies
pydantic
requests
How to use
from covid import Covid
# by default data source is "worldometers"
covid = Covid()
# or
covid = Covid(source="worldometers")
# to get data from john hopkins (deprecated)
covid = Covid(source="john_hopkins")
# get all data
covid.get_data()