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
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.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for coronatracker-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856571d2870af8d41d8664da4df58bacf00893b0cc72c8026756908894695cb5 |
|
MD5 | 86c77b05f8bff14b9c8c66925dfd672d |
|
BLAKE2b-256 | a60754438d4de23057770c2892075d4b59012ec0c11d2c1519348346ef3e4abb |