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.4.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for coronatracker-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968bd2e14ce9bdde7bb0e27ad403444ffe829d77f86255f6d91b3ddbd782a773 |
|
MD5 | cd51400a5b1bdf81187c332ee9f48298 |
|
BLAKE2b-256 | d43b65daa8fa73f3dbd50b55010c3efdf3422f4a83cf3abaad39a5066bfab288 |