Skip to main content

Python wrapper for the voip.ms REST API

Project description

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 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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voipms-python-0.0.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voipms_python-0.0.2-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file voipms-python-0.0.2.tar.gz.

File metadata

  • Download URL: voipms-python-0.0.2.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for voipms-python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 205bcaca89c61347abceec9655023ea89848f093d78f47d3789c95a71d7bfb55
MD5 295522180b7fe2631d4e3b2a9e389488
BLAKE2b-256 e94f01c67b228ca19d19c09fe24257f6eec4db8f6b21d856ba2ccacd3a960a20

See more details on using hashes here.

File details

Details for the file voipms_python-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: voipms_python-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for voipms_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c052d90d3d28de0759bbb48bfbd1bb1ee7f288e563c552ce93b4215cac717dfd
MD5 aa9c75368e2c05bf34a6b74c85320ffb
BLAKE2b-256 0e4c339f40878c688b5ba8461093e25e74a78bbb2c84ec148afadefd3401a94b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page