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.10.tar.gz
(31.0 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538d13dbe95b111c185aee44d76ea359c93010f9c73ece7179b19c8b3fa596c9 |
|
MD5 | 01c69e7b2cf702b52b3356744660e669 |
|
BLAKE2b-256 | 2339fdd31472cb3972b0087daa749a174eb3f256a6316c79b8dcd2c29e9bda33 |