Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dorukyum/koronavirus
Koronavirüs (Covid-19) verilerine erişmenizi sağlayan bir Python modülü.
https://github.com/dorukyum/koronavirus
Last synced: 22 days ago
JSON representation
Koronavirüs (Covid-19) verilerine erişmenizi sağlayan bir Python modülü.
- Host: GitHub
- URL: https://github.com/dorukyum/koronavirus
- Owner: Dorukyum
- License: mit
- Created: 2021-04-02T13:38:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T14:31:42.000Z (over 2 years ago)
- Last Synced: 2024-10-14T09:37:52.886Z (23 days ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# koronavirus
[![İndirme Sayısı](https://static.pepy.tech/personalized-badge/koronavirus?period=total&units=international_system&left_color=green&right_color=orange&left_text=%C4%B0ndirme%20Say%C4%B1s%C4%B1)](https://pepy.tech/project/koronavirus)Koronavirüs (Covid-19) verilerine erişmenizi sağlayan bir Python modülü.
Verilerin kaynağı: [NovelCOVID API](https://disease.sh/)PyPI: https://pypi.org/project/koronavirus/
GitHub: https://github.com/Dorukyum/koronavirus/## Kurulum
**İndirmek için:** ```pip install koronavirus```
## Örnek Kullanım
### Senkron
```python
# 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
```python
# 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)
```