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.2.tar.gz
(31.7 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 360fb1b0157befff5e7d41c971a5582e3f7a52ae3debe7a7a51b9a73bcf9d0b7 |
|
MD5 | 37d5ad2e8bcff085313eb8818db6b6b6 |
|
BLAKE2b-256 | d3ef1c3b029d9dfa3f531718e2b7348fc751be33b3d3820f5f2198b8c83f3209 |