@superlogica/super-sms-client-js
v1.0.2
Published
Client para envio de SMS utilizando o serviço de SMS da Superlógica
Downloads
2
Readme
What is Super SMS Client?
lib JS for send SMS from Superlógica SMS microservice
Getting started
To install the lib just run the command:
npm install @superlogica/super-sms-client-js
Ready!
Now you can use the available interfaces and the adapter.
How it works?
The most basic possible use is to import default (adapter) and use it, as in the following example:
import { SuperSMS } from '@superlogica/super-sms-client-js';
const superSMS = new SuperSMS({
apiKey: 'MY_API_KEY',
clientId: 'MY_CLIENT_ID',
clientSecret: 'MY_CLIENT_SECRET',
})
await superSMS.send({
phone_number: '+5556999999999',
from: 'Super SMS',
message: 'Hello, World',
})