/restcomm-sdk-python

The Python SDK for the RestComm REST API

Primary LanguagePythonMIT LicenseMIT

Try Restcomm Cloud NOW for FREE! Zero download and install required.

All Restcomm docs and downloads are now available at Restcomm.com.

restcomm-sdk-python

Restcomm_Python_SDk is a module for using the Restcomm Rest API. The Restcomm REST API allows you to query meta-data about your account, phone numbers, calls, text messages, and recordings. You can also do some communications control like initiate outbound calls and send text messages

Installation

Install from PyPi using pip, a package manager for Python. Go to the terminal and type:

$ pip install Restcomm_Python_SDk

if it doesn’t work, try using:

$ sudo pip install Restcomm_Python_SDk

Don’t have pip installed? Try installing it, by running this from the command line:

$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Or, you can download the source code (ZIP) for Restcomm-Python, and then run in the terminal:

$ python setup.py install

Or, you can run it by using:

$ sudo python setup.py install

if you want to install it in python 3 or above, try using:

$ sudo python3 setup.py install

Usage

Simply import Restcomm_Python_SDk to use it

Feedback

Report any feedback or problems with this Release Candidate to the Github Issues for restcomm-sdk-python

Running Tests

To run the tests, you need to enter all your credentials like Account Sid, Authentication token etc in the text file. Each module has its own text file. you can run each module test individually or can use nose to run it together through terminal

Python Version

Python 3 and above are supported

Dependencies

This project needs requests module and vcrpy module to be installed. vcrpy module is only needed for testing

Download Instruction

you can download Restcomm Python SDk from: https://github.com/RestComm/restcomm-sdk-python you can refer the Documentation at: http://pythonhosted.org/Restcomm_Python_SDk/ you can also refer Restcomm Documentation at: http://documentation.telestax.com/