var Farazsms = require(‘FarazSMS’);
var api = Farazsms.Api({apikey: ‘Your API Key’});
api.Send({
message: “Hello NodeJs!”;,
sender: “1000xxxx”,
receptor: “0919xxxxxxx”
});
from FarazSMS import *
api = FarazsmsAPI(‘Your API Key’)
params = {
‘sender’: ‘1000xxxx’,
‘receptor’ : ‘0919xxxxxx’,
‘message’ : “Hello Python!”
}
response = api.sms_send(params)
var sender = “1000xxxxx”;
var receptor = “0919xxxxxxx”;
var message = “Hello C#!”;
var api = new Farazsms\Farazsms.Api(“Your API Key”);
api.Send(sender, receptor, message);
require ‘/vendor/autoload.php’;
$sender = “1000xxxxx”;
$receptor = “0919xxxxxxx”;
$message = “Hello PHP!”;
$api = new \Farazsms\Farazsms.Api(“Your API Key”);
$api->Send($sender,$receptor,$message);