@asdofindia/infobip
Infobip Node Client
Last updated a year ago by asdofindia .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @asdofindia/infobip 
SYNC missed versions from official npm registry.

Infobip npm version

Infobip API Client for Node.js using Infobip API

Installation

$ npm install --save infobip

Usage

Basic messaging example

var infobip = require('infobip');

//Initialize the client
var client = new infopib.Infobip('username', 'password');

//Set the message
var message = {from: "InfoSMS", to : "41793026727", text : "My first Infobip SMS"};

//Send an SMS
client.SMS.send(message,function(err, response){
   console.log(response);
});

Promise are supported


client.SMS.send(message).then(res => console.log(res)).catch( err=> console.log(err));

License

This library is licensed under the Apache License, Version 2.0

Current Tags

  • 0.1.0                                ...           latest (a year ago)

1 Versions

  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |