Socket
Book a DemoInstallSign in
Socket

epochta-pullcrm

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epochta-pullcrm

Node wrapper for ePochta API(https://www.epochta.com.ua/products/sms/v3.php)

0.0.6
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

#e_pochta This is an API wrapper for online SMS service E-pochta v3.0.

##Installation

$ npm install e-pochta-sms-api

##Usage

let SMSAPI = require("e-pochta-sms-api").SMSAPI;
let Stat = require("e-pochta-sms-api").Stat;
let gatewayOptions = {
    publicKey: "publicKey",
    privateKey: "privateKey",
    url: "http://atompark.com/api/sms/"
};
let gateway = new SMSAPI(gatewayOptions);
let stat = new Stat(gateway);

# send sms
let resultPromise = stat.send_sms({
		# read the api to provide correct arguments
		'sender': 'Name',
		'text': 'Hello World!',
		'phone': '71234567890',
		'datetime': '',
		'sms_lifetime': 0
	});
resultPromise.then((resp) => {
    console.log(resp);
})
.catch((err) => {
    console.log(err);
})

Keywords

ePochta

FAQs

Package last updated on 17 Aug 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.