Skip to main content

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'
    }
)

Metadata

Release files for carehq 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carehq 0.1.3
File Size Uploaded
carehq-0.1.3.tar.gz 6.3 kB Details

Release files / carehq-0.1.3.tar.gz

Download URL carehq-0.1.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a11f57218650dffc94ac5194edb73f139a7a789eeec2f64f475f539a5cc7b2ba
BLAKE2b-256 checksum
How to use checksums
f13864a0ed3298cb024919be0f66e22c02b83d68f6b581bb948603d009fb159e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page