A Bandwidth implementation of OpenCpaas, an SDK that allows flexibility between CPaaS providers.
Project description
opencpaas-bandwidth
This is the Bandwidth implementation of OpenCpaas.
See our full documentation.
Requirements
- Python 3.5+
Installation
pip install opencpaas-bandwidth
Testing
Run the following command in the project directory:
python -m unittest discover
Getting Started
Client Initialization
Begin by initializing a new Bandwidth client.
from opencpaas_bandwidth import BandwidthClient
auth = {
'api_token': '789',
'api_secret':'1011',
'account_id': 'myaccount' ,
'application_id': 'myapplication',
'user': 'username',
'pass': 'password',
'site_id': '12345'
}
client = BandwidthClient(auth)
Bandwidth requires several different authorizations in order to perform voice, messaging, or number functions. In order to initialize a new Bandwidth Client you MUST include an account_id or a CpaasAuthenticationException will be thrown.
Project details
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 opencpaas_bandwidth-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a37a384c4ae06af351e4c24740e0d773d8ff9cca1ed38897eb01cd9bd0572add |
|
MD5 | 8b05cddc2f10056727283d9eeb96a223 |
|
BLAKE2b-256 | b260136f64c41644a5da0c04a742af5a60860b62b68a09968b556b1d31f237cc |
Close
Hashes for opencpaas_bandwidth-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee107aba50c593ffbc171f89342ad78b89ae6496473548afecfa27526b55be59 |
|
MD5 | 7b3abd35c6d77a8cf558943bc1cab09f |
|
BLAKE2b-256 | 18f2fbe0c7b27e64ed182c5b568f3edcb8458c873750dc0d0bc52800231bcabd |