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 320 forks source link

First Aggregate (data/__init__.py) #389

Closed Vimarsh-98 closed 3 years ago

Vimarsh-98 commented 3 years ago

Applied first aggregate to data/init.py. Then made changes to both main.py and routers/v2.py because both of these files make use of sources. I changed the way they are called, now it goes through Sources and retrieves it via the get method.