Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for opencpaas-bandwidth, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size opencpaas_bandwidth-0.0.7-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size opencpaas_bandwidth-0.0.7.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page