Skip to content

Repository files navigation

RapidPro Python Client

Build StatusCoverage Status

Official Python client library for the RapidPro. Supports latest Python 2 and 3.

Visit here for complete documentation.

Installation

pip install rapidpro-python

Example

fromtemba_client.v1importTembaClientclient=TembaClient('rapidpro.io', 'your-api-token')
forcontactinclient.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

About

Python client library for the RapidPro API

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages