Package Exports
- netgsm
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netgsm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
Installation
npm install --save netgsmGetting 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);
})();