Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kingster/way2sms-api
- Owner: kingster
- Created: 2011-10-24T18:26:51.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2018-04-14T18:24:32.000Z (over 6 years ago)
- Last Synced: 2024-10-13T05:26:26.341Z (2 months ago)
- Topics: php, sms, way2sms, way2sms-api
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 74
- Watchers: 22
- Forks: 83
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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+WorldParameters
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.