buzz-expert

0.0.2 • Public • Published

What for ?

Send SMS and MMS using Buzz Expert API.

More

Minimalist module. Messages are sent on MARKETING type. Module changes between OADC and label by itself, in case of an SMS or MMS to be pushed.

Warning

Max 2 medias. Media must not be > than 60Ko (500 000 bytes).

How to use it ?

const BEAPI = require('buzz-expert');
const BuzzExpert = new BEAPI({
    login: "login",
    password: "password",
    label: "label created withing your Buzz Expert account, OADC or label is selected by the module itself"
});
 
BuzzExpert.connect((err) => {
    if (err) return console.error(err);
    
    BuzzExpert.sendMMS('0123456789', [
        { type: "file", filename: "/var/toto.gif" },
        { type: "text", content: "Hello World !" }
    ], (err) => {
        if (err) return console.error(err);
 
        console.log("Message sent!");
    });
});

GitHub Repository

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i buzz-expert

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

60.9 kB

Total Files

4

Last publish

Collaborators

  • tobudim