sms77io SMS Gateway API Client
This library relies on the the global fetch API.
So in order to to use it with node u may need to install isomorphic-fetch.
Installation
Via Yarn
yarn add https://github.com/sms77io/js-client
Via NPM
npm install --save https://github.com/sms77io/js-client
Example
import Sms77Client from 'sms77-client';
new Sms77Client('MY_SUPER_SECRET_SMS77_IO_API_KEY!')
.balance()
.then(balance => console.log(`My balance is: ${balance}`))
.catch(error => console.error(error));
Implemented endpoints:
- balance
- contacts
- lookup
- pricing
- sms
- status
- validate_for_voice
- voice
ToDo