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 in client.get_contacts(group='Reporters').iterfetches(retry_on_rate_exceed=True):
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.5.1.tar.gz
(31.2 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d09839051ceb23bf0251fc76b9a5ffbd2a98a59d1470968dd669180c9ff4f1 |
|
MD5 | 1327529802606f324854ec5a14bc2f24 |
|
BLAKE2b-256 | 17301f3e365c1890b7378d45e6afdcbe4e782593f6a1b9d420e5106816bc0ed6 |