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.1.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.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voipms-python-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 74a278a978660ae380e2f8798e63fd7d594646414550aef5f5d73608a87cc31f
MD5 d700352a7bf992220b8c0af1770f339b
BLAKE2b-256 4e5cc45b30f9da187193ca847384ae5a44f9f8ef3669225ceca4f290359e0b26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: voipms_python-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56dee4d3aacca776b2eb17a57637bc9534af3cc49fb6881b4e7b5e6aec162bd1
MD5 a008f3bfd2bea953e17506e2217f062d
BLAKE2b-256 23f3dcc029f0d372d891291d1fc64eb9d9460130c5b0e6292a97cb66f25cb5ea

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