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.8.tar.gz
(31.0 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb11ffffdcf8677c641f4c700e9078dec450bf93bf51a7c7888ab5c6d1035a9 |
|
MD5 | efc86dc907c0395b486898fdb86461cc |
|
BLAKE2b-256 | ac13fc2f02f282bc75bca90cb01f57288488ad20de3d587ed0b99dab406a41d7 |