Project

smsme

0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby API library for the SMSme platform.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

 Project Readme

This project is under development.

SMSme

A Ruby API library for the SMSme platform.

Getting started

Add this line to your application's Gemfile:

gem 'smsme'

And then execute:

$ bundle

Or install it yourself as:

$ gem install smsme

Usage

Create the object:

sms = SMSme::Api.new('YOUR_USERNAME', 'YOUR_PASSWORD')

Get balance

sms.balance.data

Get pricing table

sms.pricing.data

Send a single SMS

sms.send.data('originator', 'recipient', 'message', 'delivery_date')

Send bulk SMS

sms.send_bulk.data('originator', 'recipient1, recipient2', 'message', 'delivery_date')

Get reports

sms.reports.data('start_date', 'end_date', 'originator', 'recipient')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vdw/smsme-api-ruby-client.

License

Released under the MIT License.

Copyright 2015 Dimitris Krestos