A Twilio implementation of OpenCpaas, an SDK that allows flexibility between CPaaS providers.
Project description
opencpaas-twilio
This is the Twilio implementation of OpenCpaas.
See our full documentation.
Requirements
- Python 3.5+
Installation
pip install opencpaas-twilio
Testing
Run the following command in the project directory:
python -m unittest discover
Getting Started
Client Initialization
Begin by initializing a new Twilio client.
from opencpaas_twilio import TwilioClient
auth = {
'account_sid': "12345"
'auth_token': "678910"
}
client = TwilioClient(auth)
In order to initialize a new Twilio Client you MUST include an account_sid and auth_token a CpaasAuthenticationException will be thrown.
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
opencpaas_twilio-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for opencpaas_twilio-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88aff105ae4c730ad3ca7bc800f01abdc2e2041cb2837a09fda2406bd7a4529 |
|
MD5 | 6bc73b7e35f64904d4354c664f2f6b4d |
|
BLAKE2b-256 | 9df64357c9bac9dca8c4283498565a7e41a81ffe2bfb5b2128de3d09a758be8a |