You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 months ago | |
---|---|---|
.github/workflows | 3 years ago | |
tests | 3 years ago | |
voipms | 2 months ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
setup.cfg | 3 years ago | |
setup.py | 2 months ago |
README.md
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()