Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencpaas_twilio-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

opencpaas_twilio-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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