A Python wrapper for Bing's COVID19 tracker.
Project description
coronatracker
This is a simple tracker for COVID19 which uses the data for https://bing.com/covid and wraps it into usable data for Python programs.
>>> import coronatracker
>>> ct = coronatracker.CoronaTracker()
>>> ct.fetch_results()
>>> ct.get_country('United Kingdom')
Country(total_stats=TotalStats(confirmed=1551, deaths=53, recovered=19), id='unitedkingdom', last_updated=datetime.datetime(2020, 3, 16, 23, 0, 12, 91000), areas=[], name='United Kingdom', lat=53.943838, long=-2.550564)
Requirements
- Requests
- aiohttp
Install
$ python -m pip install -U coronatracker
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coronatracker-0.3.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for coronatracker-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326b2ed93dd57ec4c9245360511c785f304194a133649ce9f1d439ef18c636b8 |
|
MD5 | 26e00bbd184d76cc1fc2548f2885b3c4 |
|
BLAKE2b-256 | faa6582ba9a781ead1d8761d6951d37df961a2268ae8fefaa5c6301d81cc1ad7 |