Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coolsms-rest-sdk

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coolsms-rest-sdk

coolsms rest-sdk for node.js

  • 1.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

coolsms-rest-sdk

coolsms rest-sdk for node.js Documentation

Build Status npm version Dependency Status

Installation

npm install coolsms-rest-sdk

Test

npm test

Usage

var Coolsms = require('coolsms-rest-sdk');
var client = new Coolsms({
  key: 'your API key',
  secret: 'your API secret key'
});

client.sms.send({
  to: '00000000000',    // recipient
  from: '11111111111',  // sender
  type: 'SMS',          // SMS, LMS, MMS
  text: 'your message',
}, function (error, result) {
  if(error) {
    console.log(error);
  } else {
    console.log(result);
  }
});

Available resources & methods

Where you see params it is a plain JavaScript object, e.g. { text: 'Hello world!' } param is not need to include authentication information

License

MIT

Keywords

FAQs

Package last updated on 01 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc