Skip to main content

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

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

opencpaas_bandwidth-0.0.7.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencpaas_bandwidth-0.0.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file opencpaas_bandwidth-0.0.7.tar.gz.

File metadata

  • Download URL: opencpaas_bandwidth-0.0.7.tar.gz
  • Upload date:
  • Size: 5.8 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

Hashes for opencpaas_bandwidth-0.0.7.tar.gz
Algorithm Hash digest
SHA256 f4ecb48c355ac419c2974080b2f92c9dcdc9a5b48ef50e0b45f4527419c02178
MD5 b377d45d199c7779c43b4586cc254373
BLAKE2b-256 7e16379451443f3dd9775f916a2923e37a8d935115d650af55e617f74cc34f90

See more details on using hashes here.

File details

Details for the file opencpaas_bandwidth-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: opencpaas_bandwidth-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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

Hashes for opencpaas_bandwidth-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 29e90265f03c5d37a5de61790e7cfcf5048cf8bca4aa637fa4d02ad22aad4265
MD5 f596d45a27fae9c67e3353b76d52325e
BLAKE2b-256 0b56859fe1830114f57af2765468b202ee0c38d3c19e40e400883593dfff1cef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page