Python client library for the RapidPro
Project description
RapidPro Python Client
======================
[![Build Status](https://travis-ci.org/rapidpro/rapidpro-python.svg?branch=master)](https://travis-ci.org/rapidpro/rapidpro-python)
[![Coverage Status](https://coveralls.io/repos/github/rapidpro/rapidpro-python/badge.svg?branch=master)](https://coveralls.io/github/rapidpro/rapidpro-python)
[![PyPI Release](https://img.shields.io/pypi/v/rapidpro-python.svg)](https://pypi.python.org/pypi/rapidpro-python/)
Official Python client library for the [RapidPro](http://rapidpro.github.io/rapidpro/). Supports latest Python 2 and 3.
Visit [here](http://rapidpro-python.readthedocs.org/) for complete documentation.
Installation
------------
```
pip install rapidpro-python
```
Example
-------
```python
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](http://rapidpro.io/api/v2/explorer)
Development
-----------
For discussions about future development, see the [RapidPro Developers Group](https://groups.google.com/forum/#!forum/rapidpro-dev).
To run the tests:
```
nosetests --with-coverage --cover-erase --cover-package=temba_client --cover-html
```
======================
[![Build Status](https://travis-ci.org/rapidpro/rapidpro-python.svg?branch=master)](https://travis-ci.org/rapidpro/rapidpro-python)
[![Coverage Status](https://coveralls.io/repos/github/rapidpro/rapidpro-python/badge.svg?branch=master)](https://coveralls.io/github/rapidpro/rapidpro-python)
[![PyPI Release](https://img.shields.io/pypi/v/rapidpro-python.svg)](https://pypi.python.org/pypi/rapidpro-python/)
Official Python client library for the [RapidPro](http://rapidpro.github.io/rapidpro/). Supports latest Python 2 and 3.
Visit [here](http://rapidpro-python.readthedocs.org/) for complete documentation.
Installation
------------
```
pip install rapidpro-python
```
Example
-------
```python
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](http://rapidpro.io/api/v2/explorer)
Development
-----------
For discussions about future development, see the [RapidPro Developers Group](https://groups.google.com/forum/#!forum/rapidpro-dev).
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.9.tar.gz
(30.8 kB
view hashes)
Built Distribution
Close
Hashes for rapidpro_python-2.1.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78bdfaac0924783e305fab68a919b51fa015c3b5185328f44211369c8e697034 |
|
MD5 | 81b773026a7cf5de35753ffacab093a6 |
|
BLAKE2b-256 | 72435e30d546e68eb48b41bf84b9b452b4489b6d1d13529da9b1a1da1ec4b935 |