0.0.8 • Published 9 months ago

semaphore-client v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
9 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

9 months ago

0.0.7

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago

0.0.0

9 months ago