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

ghasedak

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghasedak

Ghasedak sms webservice api package

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

ghasedak for nodejs

Build Status npm version

Ghasedak sms webservice package for nodejs.

install

You can simply install and use ghasedak nodejs library from npm:

npm install --save ghasedak

or from yarn:

yarn install ghasedak

usage

Import ghasedak package:

const Ghasedak = require("ghasedak");

You need a Ghasedak account. Register and get your API key.

Create an instance from Ghasedak class with your API key:

let ghasedak = new Ghasedak(
  "3ef8539ba50c06b2a11d674c8a7ded7d7360d7b090b5146ff0761e8d9927bd31"
);

Send a single sms:

ghasedak.send({
  message: "Hello World!",
  receptor: "09xxxxxxxxx",
  linenumber: "xxxxxxxx",
});

Send a group massages:

ghasedak.bulk({
  message: "Hello World!",
  receptor: "09xxxxxxxxx",
  linenumber: "xxxxxxxx",
  senddate: "1644732815",
});

get the status of massages:

ghasedak.status({
  id: "2914845496",
  type: "1",
});

Send a verification massages:

ghasedak.verification({
  receptor: "09xxxxxxxxx",
  type: "1",
  template: "Your Template",
  param1: "xxx",
});

:)

license

Released under the BSD-3-Clause-Clear License.

Keywords

FAQs

Package last updated on 14 Feb 2022

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