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 1: Locations #62

Closed nijlogan closed 3 years ago

nijlogan commented 3 years ago

Collected the concept of grabbing location-based data into one aggregate. A Location can be created using any of a country's name, code, or id, and a correct result will be returned by using getLocationData instead of the previous specific functions. getLocations was also refactored to getAllLocations for clearer understanding.