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

created statistics and timelined statistics class #439

Closed ecypeng closed 3 years ago

ecypeng commented 3 years ago

What it does

Created statistics and timelined statistics class to divide the logic in the Location class as well as separate the abstraction from the implementation.

Why this is needed

This reduces the complexity of the class, as well as allows for one to work on the abstraction or implementation level independently.