Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (24 loc) · 867 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 867 Bytes

API For way2sms [deprecated]

This project is not maintained anymore

An simple unofficial API written in PHP to send messages using service provided by way2sms.

PHP-How to use?

<?php
	require_once('php/way2smsapi.php');
	//sendMessage($msg,$mobile,$username,$password)
	//sendMessage("<your_message>","<mobile_numbers_to_send>","<username>","<password>");
	sendMessage("Test Message","0123456789, 7894561230","8521470369","your_password");//Send message to multiple numbers
	sendMessage("Test Message","0123456789","8521470369","your_password");//Send message to single number
?>

Put the following code on your server and add your own username and password
Also can use data from $_POST and $_GET

PYTHON-How to use?

pip install -r python/requirements.txt
python pyhton/way2sms.py -h