Skip to content

Latest commit

 

History

History
63 lines (54 loc) · 1.34 KB

README.md

File metadata and controls

63 lines (54 loc) · 1.34 KB

ts-termii

A TS sdk for Termii API

🎯 Usage

# Installation
$ yarn add ts-termii
  • 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 a mail 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