1.0.9 • Published 4 years ago
smslegal v1.0.9

✉️ SMSLegal
Install
You can install with npm:
npm install smslegalYou can install with yarn:
yarn add smslegalFeatures
- Enviar SMS
- Verificar Status de SMS
- Verificar Quantidade de SMS
Config Start
First you need import the package for your project:
const smslegal = require('smslegal');You need config with yours access:
smslegal.config({user: "YOUR_USER", pass: "YOUR_PASS"});Examples
Verify balance of account.
smslegal.balance()You can send a async sms, the number has to count the code 55 from brazil, after the ddd without the 0, plus 9 mobile number:
smslegal.send({numberSMS: 5566999999999, message: "Message SMS"})You can verify status of your sms of you send.
smslegal.verifyStatus({messageId: 123112})This project is under the MIT license. See the LICENSE file for more details.