Searching the net for an API to send SMS over the web, I came across Nexmo https://www.nexmo.com/. After signing up I have received 2 Euro credit for testing how it works, and what can I say... I have received the short messages instantly after sending them from my website.
The downloaded example.php looks like:
It seems easy to integrate with Couch, however the main issue with it is that it doesn't allows sending messages to multiple numbers at once
I'm wondering if Couch can be used to minimize this disadvantage of the API and implement it in a way that helps automating the SMS sending process.
The downloaded example.php looks like:
- Code: Select all
<?php
include ( "NexmoMessage.php" );
/**
* To send a text message.
*
*/
// Step 1: Declare new NexmoMessage.
$nexmo_sms = new NexmoMessage('api_key', 'api_secret');
// Step 2: Use sendText( $to, $from, $message ) method to send a message.
$info = $nexmo_sms->sendText( '+447234567890', 'MyApp', 'Hello!' );
// Step 3: Display an overview of the message
echo $nexmo_sms->displayOverview($info);
// Done!
?>
It seems easy to integrate with Couch, however the main issue with it is that it doesn't allows sending messages to multiple numbers at once

I'm wondering if Couch can be used to minimize this disadvantage of the API and implement it in a way that helps automating the SMS sending process.