node-sms-horizon
Send SMS using SMS Horizon gateway in node environment.
Last updated 3 months ago by subha_chandra_das .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-sms-horizon 
SYNC missed versions from official npm registry.

node-sms-horizon

Send SMS using SMS Horizon gateway in node Environment.

Getting Started

First you have to register in https://www.smshorizon.in/, then you will have a User Name, Api key and sender Id.

Prerequisites

To install node-sms-horizon , you need node.js and npm.

Installing

Once you have that set-up, just run

npm install --save node-sms-horizon

in your project directory.

Usage

node-sms-horizon send_sms(senderOption, recieverOption) returns promise and needs two parameters 'senderOption' and 'recieverOption'.


const send = require("node-sms-horizon")({
    user_name : // Use your User name from sms-horizon. 
    api_key : // You will get this api key after registration. 
    sender_id : //you have to create a sender Id in you sms-horizon portal. 
});

send('receiver phone no.',"message to send").then(response => {
    console.log(response)
}).catch(error => {
    console.error(error)
})

Authors

License

This project is licensed under the MIT License.

Current Tags

  • 1.2.1                                ...           latest (3 months ago)

15 Versions

  • 1.2.1                                ...           3 months ago
  • 1.2.0                                ...           3 months ago
  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.10                                ...           3 months ago
  • 1.0.9                                ...           3 months ago
  • 1.0.8                                ...           3 months ago
  • 1.0.7                                ...           3 months ago
  • 1.0.6                                ...           3 months ago
  • 1.0.5                                ...           3 months ago
  • 1.0.4                                ...           3 months ago
  • 1.0.3                                ...           3 months ago
  • 1.0.2                                ...           3 months ago
  • 1.0.1                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 15
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |