Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 1.74 KB

File metadata and controls

78 lines (59 loc) · 1.74 KB

Elibom Python API Client

Build Status

A python client of the Elibom REST API. The full API reference is here.

Getting Started

1. Install the egg

sudo pip install elibom

2. Configure the ElibomClient object passing your credentials.

from elibom.Client import *

elibom = ElibomClient('your@user.com', 'your_api_password')

Note: You can find your api password at http://www.elibom.com/api-password (make sure you are logged in).

You are now ready to start calling the API methods!

API methods

Send SMS

deliveryToken = elibom.send_message('57xxxxxxxxxx', 'test message')
# all methods return a hash or raise exceptions if there is a error response

Schedule SMS

scheduleId = elibom.schedule_message('57xxxxxxxxxx', 'test message', '2013-08-14 23:00')

Show Delivery

delivery = elibom.show_delivery(deliveryToken);

List Scheduled SMS Messages

schedules = elibom.list_schedules()

Cancel Scheduled SMS Message

elibom.cancel_schedule(scheduleId)

List Users

users = elibom.show_users()

Show User

user = elibom.show_user(usersId)

Show Account

account = elibom.show_account()