koronavirus
Koronavirüs (Covid-19) verilerine erişmenizi sağlayan bir Python modülü.
Verilerin kaynağı: NovelCOVID API
PyPI: https://pypi.org/project/koronavirus/
GitHub: https://github.com/Dorukyum/koronavirus/
Kurulum
İndirmek için: pip install koronavirus
Örnek Kullanım
Senkron
# modülü içeri aktar
from koronavirus import korona
# Türkiye'nin koronavirüs verilerini al
veriler = korona("Turkey") # veya korona("tr")
print(veriler)
Asenkron
# modülü içeri aktar
from koronavirus import async_korona as korona
# Türkiye'nin koronavirüs verilerini al
async def main():
veriler = await korona("Turkey") # veya korona("tr")
print(veriler)
Release files for koronavirus 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| koronavirus-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |