Python client library for the RapidPro
Project description
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.7.0.tar.gz
(21.1 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccaa3c067fccb5ff22653938a92e4ef819026ad4e74e7149ff9735ee7a0316a9 |
|
MD5 | 3ed2f1de36289dd8ac24b2155cd81f12 |
|
BLAKE2b-256 | eddbf18702ca496799a03acf94c1c62830ccd5d1d4297dcd8f3771e8372dd59a |