A Django app that bounces messages from Vumi to Snappy and back
Project description
A Django app that bounces messages from Vumi to Snappy and back
Overview
+-------------------------------+ +----------------+ +------------------+ | Vumi Go | | Django Proj | | Snappy | | | | | | | | +------------+ +---------+ | | +------------+ | | | | | Vumi | | Vumi | | HTTP | | | | HTTP | | | | Transport +--> | Sandbox | +------> | | Snappy | +-------> | 1. Create ticket | | | (e.g. SMS) | | App | | POST | | Bouncer | | POST | | | | | | | | | | | | | | | | | +---------+ | | | 1. Store | | | 2. Ticket | | | | | | | 2. Forward | | | response | | | | +---------+ | | | 3. Listen | | | | | | | | Vumi | | HTTP | | 4. Respond | | | | | | | <--+ HTTP | | <------+ | | | <-------+ 3. Hook fires | | | | | API | | POST | +------------+ | Webhook | | | | | | | | | | | | | +------------+ +---------+ | | | | | | | | | | | +-------------------------------+ +----------------+ +------------------+
Configuration
The following configuration (with dummy values replaced by real ones) needs to be added to settings.py to configure this app:
SNAPPY_API_KEY = 'keyfromsettings' SNAPPY_BASE_URL = 'https://app.besnappy.com/api/v1' SNAPPY_EMAIL = 'sharedmailbox@example.com' SNAPPY_EXTRAS = ["extra1", "extra2"] SNAPPY_MAILBOX_ID = 0 SNAPPY_STAFF_ID = 0 VUMI_GO_ACCOUNT_KEY = "key" VUMI_GO_ACCOUNT_TOKEN = "token" VUMI_GO_API_TOKEN = "token" VUMI_GO_API_URL = "http://go.vumi.org/api/v1/go" VUMI_GO_BASE_URL = VUMI_GO_API_URL + "/http_api_nostream" VUMI_GO_CONVERSATION_KEY = "convokey"
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
Built Distribution
Close
Hashes for django-snappy-vumi-bouncer-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b433b60be4904c631b24690143007cbedc4f7793e3fac3d3573daf24a844fe6 |
|
MD5 | abb0e3c2e93ef252b5945cfcfbddb46e |
|
BLAKE2b-256 | 91bdbf84c8148cd0fa16fc2059761fd2e745ce591f0d483ca256f648156e3115 |
Close
Hashes for django_snappy_vumi_bouncer-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dafb90024b61a1a25c4d1b67655d95ce83dbdc92709e474566028d66c989a3a |
|
MD5 | 6e4dc429c204e68e4f9304ec4fa32d08 |
|
BLAKE2b-256 | cdda5f6b63e61ab1778d90d2145e2b54d32bdda84a56071c60afeaa95c1776fc |