Git Product home page Git Product logo

pyswitchvox's Introduction

About

This package contains a Python client library for the Switchvox Extend API.

This library is only a very thin wrapper around the Extend API Methods, and seeks primarily to provide a Pythonic way of invoking the API.

For more information on the Extend API, see the developer documentation: http://developers.digium.com/switchvox/

Installation

` python setup.py install `

Notes

Due to a quirky bug in Switchvox's HTTP server's 401 Challenges, a very recent version of the `requests` library is needed. So recent, in fact, that it isn't released yet.

As such, PySwitchvox maintains that it needs requests 2.8.1, when in reality we will need the eventually released 2.8.2. When that release is made, the library dependency in `setup.py` will be updated appropriately. Until then, `requests` will need to be installed from Github: https://github.com/kennethreitz/requests

pyswitchvox's People

Contributors

matt-jordan avatar voice1 avatar

Stargazers

LucienWilcox avatar  avatar Brian Carpenter avatar David M. Lee avatar

Watchers

Matt Smith avatar Shaun Ruffell avatar David M. Lee avatar  avatar James Cloos avatar  avatar  avatar  avatar

pyswitchvox's Issues

Switchvox 6.6.0.x Changed Authentication Methods

Switchvox update 6.6.0.x changed API authentication methods removing HTTPDigestAuth.
This change was undocumented on the release notes and was only uncovered on from an internal support ticket. Currently Digium has not release documentation or updated the SDK to match the changes making this SDK unusable on new installations.

I have submitted a patch to allow checking for supported authentication method and allow this SDK to remain viable. (see pull request)

This version committed feb 4th not in pypi

Commit 9a8d208
not reflected in pypi

pip install pip --upgrade 
pip install pyswitchvox --upgrade

Still results in unauthorized requests on 6.6.0.

For those needing a fix now, clone the repo into your codebase and add the following:

from PySwitchvox.pyswitchvox.client import Client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.