Skip to content

The official Python binding for the Fonolo Call-Back Service.

License

Notifications You must be signed in to change notification settings

Fonolo/fonolo-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fonolo

Python Client Library

The official Python binding for the Fonolo Call-Back Service.

Prerequisites

Before using this library, you must have:

  • A Fonolo Account; visit fonolo.com for more details.
  • a valid Fonolo Account SID and Auth Token, available from the Fonolo Portal
  • Works with [ 2.6 / 2.7 / 3.2 / 3.3 ]

Installation

pip install fonolo

Quickstart

Start a new Fonolo Call-Back:

import fonolo

try:
    client = fonolo.Client(<account sid>, <auth token>)

    res = client.callback().start({

        "fc_number": "14163662500",
        "fc_option": "CO529c5278b2cefeabc984506e785d8cb0"
    });

    print(res);

except fonolo.FonoloException as err:
    print(err)

Documentation

Full API documentation is available from the Fonolo developer site.

Release History

v1.0.2

  • Added support for the /optin and /optins endpoints for viewing call-back opt-in requests.

v1.0.1

  • Added support for the pending call-backs view (/pending endpoint)
  • Fixed a bug in the /calls endpoint when passing URL arguments.

v1.0.0

  • Added support for the realtime and scheduled call-backs view.
  • Added support for the timezones endpoint.
  • Initial release.

About

The official Python binding for the Fonolo Call-Back Service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages