glo-sdp-nodejs
v2.4.4
Published
A library to communicate with mtn sdp soap apis
Downloads
5
Readme
glo-sdp-nodejs
Using the library
<!-- require it as a normal nodejs package -->
const glo_sdp = require('./glo-sdp-nodejs');
// call subscribe function
###sample input of subscribe function:
let msisdn = '234800000000'
let data:{
'spId':'',
'spPwd':'',
'shortcode':''
}
let debug = false
mtn_sdp.subscribe(msisdn,data,debug function(err,response){
console.log(err)
console.log(response)
})
Sample Output of the subscribe function:
{ ResultCode: 0,
ResultDesc: '123456', ResultDetails: 'Welcome to mtn sdp!' }