1.1.0 • Published 3 years ago

netgsm v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NetGsm REST API - JavaScript Library

New JavaScript library for NetGsm REST API, supports CommonJS (CJS).

Requests are made with Axios library with support to promises.

GitHub issues GitHub license npm version

Installation

npm install --save netgsm

Getting started

Check out the NetGsm API endpoints and data that can be manipulated in https://www.netgsm.com.tr/dokuman/.

Setup

CJS example:

const NetGsm = require("netgsm");

(async () => {
  const netgsm = new NetGsm({
    usercode: "8503021190",
    password: "1HYNES4",
    msgheader: "MARKAADI",
  });
  const response = await netgsm.get("sms/send/get/", {
    gsmno: "5554443322",
    message: "Test",
  });
  console.log(response);
})();

Changelog

See changelog for details

1.1.0

3 years ago

1.0.0

3 years ago