Python client library for the RapidPro
Project description
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:
nosetests --with-coverage --cover-erase --cover-package=temba_client --cover-html
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(32.0 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e573b24d2a72a9dc966b1000748a4ff77c891a08045387b92574a9cb9dd8e7b9 |
|
MD5 | 592ee64005970fe38737675048e9929c |
|
BLAKE2b-256 | 5487ab9afd34196f65b0654e9d98be67d2e25be7aedd3ce9052e5b22da10b9f0 |