0.0.8 • Published 8 months ago

semaphore-client v0.0.8

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

8 months ago

0.0.7

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago

0.0.0

8 months ago