Kamaropoulos / COVID19Py

A tiny Python package for easy access to up-to-date Coronavirus (COVID-19, SARS-CoV-2) cases data.
https://pypi.org/project/COVID19Py/
GNU General Public License v3.0
84 stars 57 forks source link

Aggregate example 2: Data class added #65

Closed nijlogan closed 2 years ago

nijlogan commented 3 years ago

Collected the concept of data source into one aggregate. A Data can be created optionally using a url or data_source, and the resulting Data object is used for passing the necessary fields into the instantiation of COVID19.