Skip to main content

A client library for the SimpleCovidAPI to get covid19 data.

Project description

SimpleCovidAPI

A client library for the SimpleCovidAPI that retrieves COVID-19 data.

Installation

pip3 install SimpleCovidAPI  # for python 3
pip install SimpleCovidAPI  # for python 2

Usage

from SimpleCovidAPI import sca

print('Cases: ' + str(sca.cases()))
print('Deaths: ' + str(sca.deaths()))
print('Recoveries: ' + str(sca.recoveries()))

Docs

Full documentation availabe here.

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

SimpleCovidAPI-0.2.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

SimpleCovidAPI-0.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

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