Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

system7-open-source/rapidpro-python

Open more actions menu
 
 

Repository files navigation

RapidPro Python Client

Build Status Coverage 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

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

About

Python client library for the RapidPro API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.