Skip to main content

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)
    • 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)

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

covid-tracking-project-0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

covid_tracking_project-0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for covid-tracking-project-0.2.tar.gz
Algorithm Hash digest
SHA256 a5d16086e13d06890f65a45cb96aedf530999429c5a1f11d4dfd6cef107dc338
MD5 624977d39ce0d2ea8828edfe264f0b65
BLAKE2b-256 006620165e9fcc32b6d31e0d3ee19da9150193af1c2b3666e3ceb6af0d9c192a

See more details on using hashes here.

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

Hashes for covid_tracking_project-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd2b1e41f83390dd6cd8589c4eb7889c86223bf0e15bc9540b1b7213e2e5e977
MD5 26a2b14a1a120f0e5eb557256f0ee69a
BLAKE2b-256 5cfe0b8cc677a6455838fa77c11216a71ec403d99c0aca0c2ee8089825489cb5

See more details on using hashes here.

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