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

Implemented use of aggregation on httputil.py #361

Closed simran7s closed 3 years ago

simran7s commented 3 years ago

Restructured httputil.py to make use of aggregation.

Additionally, created get methods in httputil.py that are used by csbs.py, jhu.py, nyt.py and main.py instead of directly using the global variable CLIENT_SESSION (which is now private).