Python client library for the RapidPro API
Project description
RapidPro Python Client
Official Python client library for the RapidPro. Supports latest Python 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_batch in client.get_contacts(group='Reporters').iterfetches(retry_on_rate_exceed=True):
for contact in contact_batch:
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:
nose2 -C --coverage temba_client
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.15.0.tar.gz
(22.1 kB
view details)
Built Distribution
File details
Details for the file rapidpro_python-2.15.0.tar.gz
.
File metadata
- Download URL: rapidpro_python-2.15.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd6298d24c929b37ae1f51632beaf028c4d566f803848c57e28a54cf20cbbb4 |
|
MD5 | 601d9ba5804eb041f0487e91116a06dc |
|
BLAKE2b-256 | ede883ecf6fb065708c1a2535cc9c504a53d81c750dc573d3b50f89d8ed335dc |
File details
Details for the file rapidpro_python-2.15.0-py3-none-any.whl
.
File metadata
- Download URL: rapidpro_python-2.15.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bdd1d0777d18c18a7851d8837a8c62ef844bc443a6d41ab3eb89f485afdb918 |
|
MD5 | a78e0f8ddd2c36c4138e6cffc4c0afca |
|
BLAKE2b-256 | 73bc2e4019f78a0594605cb1d58e82075ddb7b7c19db1b919bf02ff710793b79 |