A python wrapper for the Covid Tracking Project API
Project description
covid-tracking-project
A python wrapper for the Covid Tracking Project API.
Installation
pip3 install covid-tracking-project
Importing
import ctp
Functions
- Class:
us()
- Function:
history()
- Description: Get US historical data
- Parameters:
- day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example:
20200501
)
- day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example:
- Function:
current()
- Description: Get current US data
- Function:
- Class:
states()
- Function:
metadata()
- Description: Get state metadata
- Parameters:
- state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example:
ca
)
- state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example:
- Function:
history()
- Description: Get state historical data
- Parameters:
- day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example:
20200501
) - state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example:
ca
)
- day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example:
- Function:
current()
- Description: Get state current data
- Parameters:
- state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example:
ca
)
- state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example:
- Function:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for covid-tracking-project-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6967ad3c1492cdd997f0a68493431bdd89e83d40242ace9c0d48c0dbc3c3e8 |
|
MD5 | e26eeba5a7446726e614ca1fe9788f80 |
|
BLAKE2b-256 | 641edb76753106a6390e0858e649841b20dcd5294f7be68f54f4c893ae1304dc |
Close
Hashes for covid_tracking_project-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff3ac5401b66d07fea2740a2a8766c2a8b458e260d2af9069f99f81d5f9f217 |
|
MD5 | c28afa8d4528df55db668b0c313251c2 |
|
BLAKE2b-256 | 231f6da4672f054dffda223e5d12fcb8e4e5fbe161c9b1f7ccb653e0c84cb1ab |