Unofficial Python Library for the Jusibe SMS Platform API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
jusibe
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
example.py
readme.MD
requirements.txt
setup.cfg
setup.py

readme.MD

Jusibe-Python-Library

Build Status

Unofficial Python Library for the Jusibe SMS HTTP API

Quick Start

The first thing you'll need to do is sign up on Jusibe and get your account credentials.

Installation

jusibe is available on PYPI https://pypi.python.org/pypi/jusibe/. Install with pip i.e.

pip install jusibe

The library is currently tested against Python versions 2.6.9, 2.7.9, 3.5, 3.6

Usage


Python 2:

from jusibe import Jusibe

public_key = 'python_public_key_here' #change this
access_token = 'access_token__here' #change this
jusibe = Jusibe(public_key, access_token)

#send SMS
response = jusibe.send_message('234812345678', 'sender, 'message to send')
print response

#check available credit
available_credit = jusibe.check_available_credit()
print available_credit

Python 3:

from jusibe import Jusibe

public_key = 'python_public_key_here' #change this
access_token = 'access_token__here' #change this
jusibe = Jusibe(public_key, access_token)

#send SMS
response = jusibe.send_message('234812345678', 'sender, 'message to send')
print(response)

#check available credit
available_credit = jusibe.check_available_credit()
print(available_credit)

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

License

The MIT License (MIT). Please see License File for more information.