0.0.8 • Published 11 months ago

semaphore-client v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Semaphore SMS client

Unofficial NodeJs SDK for the Semaphore SMS https://semaphore.co/docs

How to use

import { lookUpAccount } from 'semaphore-client';
import { lookUpSms } from 'semaphore-client';
import { sendSms } from 'semaphore-client';

lookUpAccount()
lookUpSms()
sendSms({
      apikey: <YOUR-API-KEY>,
      number: <MOBILE-NUMBER>,
      message: <YOUR-MESSAGE>,
      sendername: <YOUR-SENDER-NAME>,
    })

Just make sure you have your: APIKEY

SEMAPHORE_API_KEY=<YOUR-KEY>
SEMAPHORE_URL=https://api.semaphore.co/api/v4

Methods you can use

  • sendSms() = Send SMS
  • lookUpAccount() = Checks you account information
  • lookUpSms() = Checks SMS status

Author

Jeff Simons Decena

0.0.8

11 months ago

0.0.7

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

0.0.0

11 months ago