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.
Release files for opencpaas-bandwidth 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opencpaas_bandwidth-0.0.7.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencpaas_bandwidth-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / opencpaas_bandwidth-0.0.7.tar.gz
| Download URL | opencpaas_bandwidth-0.0.7.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4ecb48c355ac419c2974080b2f92c9dcdc9a5b48ef50e0b45f4527419c02178
|
|
BLAKE2b-256 checksum How to use checksums |
7e16379451443f3dd9775f916a2923e37a8d935115d650af55e617f74cc34f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / opencpaas_bandwidth-0.0.7-py3-none-any.whl
| Download URL | opencpaas_bandwidth-0.0.7-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29e90265f03c5d37a5de61790e7cfcf5048cf8bca4aa637fa4d02ad22aad4265
|
|
BLAKE2b-256 checksum How to use checksums |
0b56859fe1830114f57af2765468b202ee0c38d3c19e40e400883593dfff1cef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|