smseveryone-node
TypeScript icon, indicating that this package has built-in type declarations

0.3.20 • Public • Published

smseveryone-node

Unoffical SMSEveryone API Wrapper for NodeJS

Installation

Use the package manager of your choice

pnpm add smseveryone-node

Import the package into your project

import {SMSEveryone} from 'smseveryone-node'

Documentation

Official API Documentation - https://www.smseveryone.com.au/restapi

Authentication

const sendSMS = new SMSEveryone('username','password')

Send and SMS Campaign

sendSMS.sms({
    originator:"AplhaTag",
    destinations:["phonenumbers"],
    message:"Hello, from SMS Everyone module test",
    action:"create"})
    .then(r => console.log(r))
    .catch(e => console.error(e))

or using async and try..catch

Endpoints Supported

Package Sidebar

Install

npm i smseveryone-node

Weekly Downloads

5

Version

0.3.20

License

MIT

Unpacked Size

28.1 kB

Total Files

12

Last publish

Collaborators

  • minusinfinite