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',
    {'filters-q': ['lyra']}
)

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.0.5.tar.gz (5.8 kB view hashes)

Uploaded Source

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