covid-tracking-project-0.2
توضیحات
A python wrapper for the Covid Tracking Project API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | covid-tracking-project-0.2 |
| نام | covid-tracking-project |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aarav Borthakur |
| ایمیل نویسنده | gadhaguy13@gmail.com |
| آدرس صفحه اصلی | https://github.com/gadhagod/covid-tracking-project |
| آدرس اینترنتی | https://pypi.org/project/covid-tracking-project/ |
| مجوز | - |
# 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`)
- **Function**: `current()`
- Description: Get current US data
- **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`)
- **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`)
- **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`)
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl covid-tracking-project-0.2:
pip install covid-tracking-project-0.2.whl
نصب پکیج tar.gz covid-tracking-project-0.2:
pip install covid-tracking-project-0.2.tar.gz