Python client library for the RapidPro
Project description
Official Python client library for the RapidPro. Supports latest Python 2 and 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.1.7.tar.gz
(31.0 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069029bca7eca5018e3537c856b4e772935e5da4210f244e1b75ce7b29e7b752 |
|
MD5 | 4c74c158d1af44eac456f7f36a4a1996 |
|
BLAKE2b-256 | 0935f9c99494cb0a6f5c2e336e0823f68c2637a5ac31b68d8f795ac19d76b1d9 |