Files
ewelink-api/README.md
2019-06-26 23:27:52 -03:00

421 B

ewelink-api

eWeLink API for Node.js

Installation

 npm install ewelink-api

Usage

const ewelink = require('ewelink-api');

(async () => {

  const conn = new ewelink({
    email: '<your ewelink email>',
    password: '<your ewelink password>',
  });

  /* get all devices */
  const devices = await conn.getDevices();
  console.log(devices);

})();

Check demo/example.js for more examples.