ExpDev07 / coronavirus-tracker-api

🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
https://coronavirus-tracker-api.herokuapp.com
GNU General Public License v3.0
1.59k stars 323 forks source link

Aggregate applied 1 #407

Closed seanli66 closed 3 years ago

seanli66 commented 3 years ago

aggregate applied to confirmed, deaths, and recovered attributes under Location class. new class Statistics was introduced to embed them. attributes are added with name mangling and setter and getter functions are also added. access or edit outside the Statistics object will be using the getter/setter functions