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
File details
Details for the file covid-tracking-project-0.2.tar.gz
.
File metadata
- Download URL: covid-tracking-project-0.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d16086e13d06890f65a45cb96aedf530999429c5a1f11d4dfd6cef107dc338 |
|
MD5 | 624977d39ce0d2ea8828edfe264f0b65 |
|
BLAKE2b-256 | 006620165e9fcc32b6d31e0d3ee19da9150193af1c2b3666e3ceb6af0d9c192a |
File details
Details for the file covid_tracking_project-0.2-py3-none-any.whl
.
File metadata
- Download URL: covid_tracking_project-0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd2b1e41f83390dd6cd8589c4eb7889c86223bf0e15bc9540b1b7213e2e5e977 |
|
MD5 | 26a2b14a1a120f0e5eb557256f0ee69a |
|
BLAKE2b-256 | 5cfe0b8cc677a6455838fa77c11216a71ec403d99c0aca0c2ee8089825489cb5 |