Socket
Socket
Sign inDemoInstall

mobily-ws

Package Overview
Dependencies
59
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mobily-ws

Node.js client to communicate with mobily.ws API


Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Install size
9.74 MB
Created
Weekly downloads
 

Readme

Source

Build Status

Mobily Ws

A Node.js client to communicate with mobily.ws API

Installation

npm install mobily-ws --save

Usage

Javascript

const mobilyWs = require('mobily-ws');

const client = mobilyWs('YOUR API KEY', 'SENDER NAME');

// Extra options to send to the api.
const options = {
    dateSend: '01/01/2020',
    timeSend: '15:30:00',
};

client.sendSMS('Thank you for your business', ['966511111111', '966522222222'], options)
    .then(function (response) {
        console.log(response)
    });

TypeScript/ES6

import mobilyWs from 'mobily-ws';

const client = mobilyWs('YOUR API KEY', 'SENDER NAME');

// Extra options to send to the api.
const options = {
    dateSend: '01/01/2020',
    timeSend: '15:30:00',
};

client.sendSMS('Thank you for your business', ['966511111111', '966522222222'], options)
    .then((response) => {
        console.log(response)
    });

Test

npm run test

Keywords

FAQs

Last updated on 21 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc