Skip to main content

CareHQ API Client for Python.

Project description

CareHQ Python API client

CareHQ API Client for Python.

Installation

pip install carehq

Requirements

  • Python 3.7+

Usage

import carehq

api_client = carehq.APIClient(
    account_id='MY_ACCOUNT_ID',
    api_key='MY_API_KEY',
    api_secret='MY_API_SECRET'
)

users = api_client(
    'get',
    'users',
    {
        'attributes': [
            'first_name',
            'last_name'
        ],
        'filters-q': 'ant'
    }
)

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

carehq-0.1.3.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file carehq-0.1.3.tar.gz.

File metadata

  • Download URL: carehq-0.1.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for carehq-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a11f57218650dffc94ac5194edb73f139a7a789eeec2f64f475f539a5cc7b2ba
MD5 a2d91967e6e40aad5f9fa01f1b80d9ff
BLAKE2b-256 f13864a0ed3298cb024919be0f66e22c02b83d68f6b581bb948603d009fb159e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page