sigma_sms

0.0.6 • Public • Published

🛠️ This repository was created using the GitUpload.

Languages:
🇩🇪 Deutsch | 🇬🇧 English | 🇪🇸 Spanish | 🇫🇷 French | 🇮🇹 Italian | 🇷🇺 Russian


Version = 0.0.6
Library name = sigma_sms
Title = Sigma SMS API gate
Keywords = API, Gate, SMS, SMS Gate, Sigma, Phone, Node, React JS, React Native, Vue, Angular, Javascript

Hot to install

yarn add sigma_sms

How to use

const SIGMA = require('sigma_sms');
 
const username = '****'
const password = '****'
const sender_name = 'B-Media'
 
new SIGMA(username, password).send(sender_name, 'What about 11?', ['+346400000',]).then(res => {
 
    console.log('send() :: RESPONSE')
    console.log(res.data)
 
    const {id} = res.data
    if(id) {
        new SIGMA(username, password).status(id).then(res => {
            console.log('status() :: RESPONSE')
            console.log(res.data)
        })
    }
 
}).catch(err => {
    const msg_err = `API Error :: response status ${err.response.status}`
    console.log(msg_err)
    return msg_err
})
 

🛠️ This repository was created using the GitUpload.

Package Sidebar

Install

npm i sigma_sms

Homepage

sigmasms.com

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

4.33 kB

Total Files

3

Last publish

Collaborators

  • bitcoinment