Davien21 / termii-js

wrote a TS sdk for sms, messaging, otps with Termii.

Home Page:https://termii.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

termii-js

A TS sdk for Termii API

🎯 Usage

# Installation
$ yarn add termii-js
  • Send sms
const termii = new Termii(API_KEY, SENDER_ID)

   let data = {
      to: '2348183175686',
      sms: 'The kola nut in a child\'s mouth is his own kola nut'
    }
    let res = await termii.sendMessage(data)
  • Available Methods
const termii = new Termii(API_KEY, SENDER_ID)

termii.fetchSenderId()
termii.fetchBalance()
termii.search()
termii.history()
termii.requestSenderId()
termii.sendMessage()
termii.sendBulkMessage()
termii.sendWithAutoGeneratedNumber()
termii.sendToken()
termii.inAppToken()



🔨 Contributions

You are welcome to contribute, or suggest changes to this sdk. Just send an Email to this address okorieebube1@gmail.com , for immediate response.

# fork and clone the forked project
# Access the folder
$ cd termii-js

# Install dependencies
$ yarn install

# Run test
$ yarn test

Good first issue.

Technologies

  • Typescript
  • NodeJS

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

With ❤️, KelvinIOT

About

wrote a TS sdk for sms, messaging, otps with Termii.

https://termii.com

License:MIT License


Languages

Language:TypeScript 98.7%Language:JavaScript 1.3%