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.6.tar.gz
(30.5 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6340c55df37b99811790b7d1fe4415dadb9f28aea081d846181ba80bbc7bcea |
|
MD5 | 5c6fc28f54c330905478effe6da7933d |
|
BLAKE2b-256 | 390a7de85e21b394c2915473d58bb044e97ab9715326f8bfe3ab5539babb5750 |