Go to file
2019-09-03 16:21:52 -04:00
templates refactored exception section to map error codes to explanations as given on API documentation page 2019-09-03 14:28:49 -04:00
tests initial commit 2019-08-17 22:02:44 -04:00
voipms added more endpoints, probably done adding more for now as majority of other endpoints are for resellers 2019-09-03 16:21:52 -04:00
.gitignore added more endpoints, probably done adding more for now as majority of other endpoints are for resellers 2019-09-03 16:21:52 -04:00
README.md updated README.md to model current status of project 2019-08-18 22:37:14 -04:00
setup.py initial commit 2019-08-17 22:02:44 -04:00

voipms-python

A python-based API wrapper for voip.ms.

Installation

You can install this package from PyPi using pip, a package manager for Python. Once pip is installed, run

pip install --upgrade voipms-python

You can also install from source with:

python setup.py install

Requirements

  • Python 2.7+ or 3.4+

Usage

The library needs to be configured with your account's email and API password, the latter of which can be created here. Once that's been done, create a Client object as shown below:

from voipms.api import Client

email = "test@email.com"
api_password = "01N0sWTdiutWTHNF"

client = Client(email, api_password)

# get current account balance
balance = client.balance.fetch()