Skip to content

theiceeman/termii-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] , 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published