Skip to main content

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.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

coronatracker-0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file coronatracker-0.5.tar.gz.

File metadata

  • Download URL: coronatracker-0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for coronatracker-0.5.tar.gz
Algorithm Hash digest
SHA256 d37b8ee31d1f240a865256660b3cc0fc5d88658735fabade0ce2fc336db4ac70
MD5 52e96a962fa0d88b5765f3d75f371a9e
BLAKE2b-256 e2885d7183310438b57f127e309d0b5a64ba46078649b490939175da4e1029c2

See more details on using hashes here.

File details

Details for the file coronatracker-0.5-py3-none-any.whl.

File metadata

  • Download URL: coronatracker-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for coronatracker-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 12f1b42cb27e9a9fa203a0fd988b7f272037fd8ae455b5ca508f99cc4953a0ec
MD5 8e84b76c6b6c1d2cfa87d1ac41f6035a
BLAKE2b-256 febc6b39aef43c4c751a254e718e4c781679617b7e94a45673abf11f971771e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page