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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d16086e13d06890f65a45cb96aedf530999429c5a1f11d4dfd6cef107dc338 |
|
MD5 | 624977d39ce0d2ea8828edfe264f0b65 |
|
BLAKE2b-256 | 006620165e9fcc32b6d31e0d3ee19da9150193af1c2b3666e3ceb6af0d9c192a |
Close
Hashes for covid_tracking_project-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd2b1e41f83390dd6cd8589c4eb7889c86223bf0e15bc9540b1b7213e2e5e977 |
|
MD5 | 26a2b14a1a120f0e5eb557256f0ee69a |
|
BLAKE2b-256 | 5cfe0b8cc677a6455838fa77c11216a71ec403d99c0aca0c2ee8089825489cb5 |