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.v1 import TembaClient
client = TembaClient('rapidpro.io', 'your-api-token')
for contact in client.get_contacts():
print(contact.name)
client.create_broadcast(text="Howdy", contacts=contacts[0:5])
client.block_contacts(contacts[1:3])
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.4.tar.gz
(30.5 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44fc60d14e278ac3bcb21bee4a95218aa75c6795d524624eac9eaaa8f05476d5 |
|
MD5 | 12d3c5ac68e3b1637b61c000b96e9903 |
|
BLAKE2b-256 | 25370c07b548340a44791c082864b6507179c465cc87f35362ed52adf5c6d06e |