signalmash-sms
v0.0.5
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Downloads
4
Readme
SignalmashSMS
This library was generated with Angular CLI version 12.2.0.
[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url]
Installation
npm install signalmash-sms
import { SignalmashSmsService } from 'signalmash-sms'
constructor(public smsService:SignalmashSmsService){}
let data ={
Username:"sumit",
Password:"N5QFinpPMIwRigI"
}
let data1 ={
NPA:"401",
NXX:"",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data2 ={
RateCenter:"JERSEYCITY",
State:"NJ",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data3 ={
TF_PREFIX:"888",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data4 ={
DID:"4012514563",
Auth_key:"jnxnjxcnjdckmaA"
}
let data5 ={
FROM:"4756321269",
TO:"3964521235",
BODY:"Hii this is npm test message",
Auth_key:"jnxnjxcnjdckmaA"
}
this.smsService.login(data).subscribe(res=>{
console.log("AuthKey",res);
});
this.smsService.searchnpanxx(data1).subscribe(res=>{
console.log("SearchByNpa",res);
});
this.smsService.searchratecenter(data2).subscribe(res=>{
console.log("SearchByRate",res);
});
this.smsService.searchtollfree(data3).subscribe(res=>{
console.log("SearchByTollFree",res);
});
this.smsService.listconnection(data3).subscribe(res=>{
console.log("ListConnection",res);
});
this.smsService.buy(data4).subscribe(res=>{
console.log("DID BUY",res);
});
this.smsService.sms(data5).subscribe(res=>{
console.log("Sms",res);
});