A python client of the Elibom REST API. The full API reference is here.
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!
- Send SMS
- Schedule SMS
- Show Delivery
- List Scheduled SMS Messages
- Show Scheduled SMS Message
- Cancel Scheduled SMS Message
- List Users
- Show User
- Show Account
deliveryToken = elibom.send_message('57xxxxxxxxxx', 'test message')
# all methods return a hash or raise exceptions if there is a error response
scheduleId = elibom.schedule_message('57xxxxxxxxxx', 'test message', '2013-08-14 23:00')
delivery = elibom.show_delivery(deliveryToken);
schedules = elibom.list_schedules()
elibom.cancel_schedule(scheduleId)
users = elibom.show_users()
user = elibom.show_user(usersId)
account = elibom.show_account()