-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a647c5
commit 2e488cd
Showing
80 changed files
with
361 additions
and
234 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,57 @@ | ||
# restcomm-sdk-python | ||
The Python SDK for the RestComm REST API | ||
|
||
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/ | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
HOW TO USE EXAMPLE FILE! | ||
|
||
1: To run Examples, you need to first install requests module. | ||
$ pip install requests, or | ||
$ sudo pip install requests | ||
|
||
2: Now, open the Terminal | ||
3: Go to the folder containing Basic_Usage.py. For example, for me its, | ||
$ cd/restcomm-sdk-python/Restcomm_Python_SDk/Examples | ||
|
||
4: Now run the Basic_Usage.py script in the terminal | ||
$ python ./Basic_Usage.py | ||
|
||
5: Now Enter the Basic Authentication as asked in the terminal. For Example, | ||
$ Account Sid: "XXXXXXXXXXXXXXXXXXXXXXX" | ||
$ Authentication Token: "YYYYYYYYYYYYYYYYYYYYYY" | ||
$ Base Url: "https://cloud.restcomm.com/restcomm/2012-04-24" | ||
|
||
6: It will return the Account Details. | ||
7: You can run it further by providing more data's | ||
8: The code will run line by line according to the functions. Please check the code to know which function is executing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.