mtn-sdp-subscription

1.0.0 • Public • Published

mtn-sdp

Using the library

  <!-- require it as a normal nodejs package  -->

  const mtn_sdp = require('./mtn-sdp');

  // 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!' }

Readme

Keywords

none

Package Sidebar

Install

npm i mtn-sdp-subscription

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

287 kB

Total Files

70

Last publish

Collaborators

  • evicoach