mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-21 13:23:05 +01:00
f7e0c6054889f5ec895a037be6ea6914b28489b1
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/ directory for more examples.
Languages
JavaScript
100%