turbosms-http
v1.0.2
Published
TurboSMS client library used to send sms through the HTTP API
Downloads
1
Readme
How to use
- Firstly, you need to enable HTTP API on the TurboSMS site
- Then you need to copy token
- Finally, you can use this library (you should install it first of course
npm i -S turbosms-http
)
import {TurboSMS} from 'turbosms-http';
const turboSMS = new TurboSMS({
accessToken: 'your-token-obtained-from-TurboSMS-site'
});
You can get information about shape of a response data here: https://turbosms.ua/api.html
Methods
user.balance()
message.send()
message.status(message_id:string|string[])
file.add()
file.details()
I'll describe all the methods above later, now I'm too lazy to do it