768x90 Getting Online Shouldn't be Tough- $7.49 .com Domains at Go Daddy

Send SMS using Ruby by Integrating Clickatell

--------------------------
Summary
--------------------------
clickatell gem is served to you for sending sms from your ruby application or shell console. This way is only work in linux, BSD and OSX. To use this gem, you will need sign up for an account at the Clickatell website. Once you are registered and logged into your account centre, you should add an HTTP API connection to your account. This will give you your API_ID.


--------------------------
Proof of Concept
--------------------------

  • install gem : {$} gem install clickatell
  • import or checkout the clickatell trunk repositroy
svn co svn://lukeredpath.co.uk/var/svn/opensource/clickatell/trunk clickatell-trunk
OR

git clone git://github.com/lukeredpath/clickatell.git
  • You can now use the library directly. You will need your API_ID as well as your account username and password.
require 'rubygems'
require 'clickatell'

api = Clickatell::API.authenticate('your_api_id', 'your_username', 'your_password')
api.send_message('6285212345678', 'Hello from clickatell & teapoci')
  • Full documentation for the API is available in the RDocs. For debugging purposes, the API allows you to view gateway URIs as they are requested, printed to $stdout. You can enable this by turning on debug_mode.
Clickatell::API.debug_mode = true
.
  • The Clickatell gem also comes with a command-line utility that will allow you to send an SMS directly from the command-line.
  • You will need to create a YAML configuration file in your home directory, in a file called .clickatell that resembles the following:
# ~/.clickatell
api_key: your_api_id
username: your_username
password: your_password
  • You can then use the sms utility to send a message to a single recipient:
{$} sms 6285212345678 'Hello from clickatell & teapoci'
.
  • You can also specify a custom Sender ID – the name or number that will appear in the “From” label on the recipients phone. You can either add a “from” key to your .clickatell file or manually using the—from option:
{$} sms --from 'Luke Redpath' 447771234567 'Hello from clickatell'


For more information : http://clickatell.rubyforge.org/

4 Response to "Send SMS using Ruby by Integrating Clickatell"

Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

gobinjam said...

Bulk SMS Services

Our company offers total Bulk SMS solutions since 2003. With our direct SMSC connections we provide you with the capability to deliver SMS messages all over the world.

You can use our outbound Bulk SMS services (MT-SMS) to deliver messages on more than 700 carriers in 170 countries. We offer three different types of connections to our system, so we enable a wide range of companies and individuals to use our SMS gateway.

Also our inbound Bulk SMS (MO-SMS) service is available in several countries. Our interactive 2 way SMS gateway provides fast, reliable, efficient and cost-effective direct interaction with your business. It is ideal for services such as 2-way marketing campaigns and SMS promotions.

HLR Lookup Services

power-bulk-sms enables real time lookup of mobile numbers. HLR Lookup service enables you to identify that a mobile phone number (MSISDN) exists and which network it belongs to. The HLR Lookup service is particularly valuable for countries where numbers are ported to between mobile operator networks.

The HLR Lookup service is an http-based service which retrieves IMSI and location for a given MSISDN. A mobile phone number (MSISDN) is sent and we make a query to an operators HLR (Home Location Register), a response with the status of each number will be returned. power-bulk-sms HLR Lookup service enables real time high capacity HLR Lookup requests and fast response times.

Visit us at http://www.power-bulk-sms.com

Unknown said...

I am running a marketing business in uk and I send SMS on a big quantity to my customers! So I am looking some Bulk SMS service provider that’s fulfill my business needs and also suits to pocket. Can anyone help me out.

Unknown said...

Thanks for the wonderful information sharing in this blog. Love the way you provide information.
Bulk SMS Services in Indore

 
powered by Blogger