Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kingster/way2sms-api

Way2sms Unofficial PHP API
https://github.com/kingster/way2sms-api

php sms way2sms way2sms-api

Last synced: about 2 months ago
JSON representation

Way2sms Unofficial PHP API

Awesome Lists containing this project

README

        

Way2SMS PHP API
=============

Send SMS Via Way2SMS from PHP.

Tested Working with Way2SMS UI Version 4. Supports upto 140 Characters

Way2SMS has added a Captcha Verification. Will update when I can find a workaround

UPDATE: Fully functional again :)

How to Use
-------

##### Simple Usage

```php

```

##### Multiple Messages with different content
```php
login('username', 'password');
$client->send('987654321', 'msg1');
//Add sleep between requests to make this requests more human like!
//A blast of request's may mark the ip as spammer and blocking further requests.
sleep(1);
$client->send('987654321,9876501234', 'msg2');
sleep(1);
$client->logout();
?>
```

HTTP API
------------

Send SMS just making GET or POST Requests.

Incase u want to use the service from your application then the parameters for ur application would be

```
http://www.yourdomain.com/sendsms.php?uid=LOGIN_ID&pwd=PASSWORD&phone=XXXXXXXXX,YYYYYYYYY&msg=Hello+World

Parameters
uid = LOGIN_ID ( Your Login ID [either nickname or 10 Digit mobile no] )
pwd = PASSWORD ( Your Login Password )
phone = 10 Digit Mobile number. Incase of multiple numbers then numbers separated by comma (,)
msg = Your Message.
```

Note
-------
Please use this code on your own risk. The author is no way responsible for the outcome arising out of this.