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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opencpaas_twilio-0.0.2.tar.gz.
File metadata
- Download URL: opencpaas_twilio-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cf6c3f79afe60e3d6b6b824313da9ee3d621adadcd2482b14bb58685dfcf33c
|
|
| MD5 |
41c8b01e7a5b1cac027ce2a69ff953fc
|
|
| BLAKE2b-256 |
792e9810d27dff60373e62f9abc0be3232e4bccae0a06eeccb650ccf78d43efe
|
File details
Details for the file opencpaas_twilio-0.0.2-py3-none-any.whl.
File metadata
- Download URL: opencpaas_twilio-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b6a74defb0aad70e7269c9eeda32f1cd25735dcb4b134f8e6e9205ee4862b5b
|
|
| MD5 |
b83774ee7a9c66e8474260eb6513f895
|
|
| BLAKE2b-256 |
4b10dfb1eb271ed4c28645a7512aa3bd428f6f18e72e8253bd701b004291d745
|