Skip to main content

Python client library for the RapidPro

Project description

RapidPro Python Client
======================

![Build Status](https://travis-ci.org/rapidpro/rapidpro-python.svg?branch=master)

Official Python client library for the [RapidPro](http://rapidpro.github.io/rapidpro/).
Visit [here](http://rapidpro-python.readthedocs.org/) for complete documentation.

Example
-------

```python
from temba 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])
```

If you don't know your API token then visit the [API Explorer](http://rapidpro.io/api/v1/explorer)

Development
-----------

To run the tests:

```
nosetests --with-coverage --cover-erase --cover-package=temba --cover-html
```

Project details


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-1.1.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

rapidpro_python-1.1-py2.py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page