Skip to main content

Python client library for the RapidPro API

Project description

RapidPro Python Client

Build Status Coverage Status PyPI Release

Official Python client library for the RapidPro. Supports latest Python 3.

Visit here for complete documentation.

Installation

pip install rapidpro-python

Example

from temba_client.v2 import TembaClient
client = TembaClient('rapidpro.io', 'your-api-token')
for contact_batch in client.get_contacts(group='Reporters').iterfetches(retry_on_rate_exceed=True):
    for contact in contact_batch:
        print(contact.name)

If you don't know your API token then visit the API Explorer

Development

For discussions about future development, see the RapidPro Developers Group.

To run the tests:

nose2 -C --coverage temba_client

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

rapidpro_python-2.13.0.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

rapidpro_python-2.13.0-py3-none-any.whl (24.2 kB view hashes)

Uploaded Python 3

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