Skip to content

elibom/elibom-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages