dart_ewelink_api

Creator: coderz1093

Last updated:

0 purchases

dart_ewelink_api Image
dart_ewelink_api Images

Languages

Categories

Add to Cart

Description:

dart ewelink api

eWeLink API for Dart (Flutter) is a package who let you interact directly with eWeLink API using your regular credentials.
This project is port from Javascript eWelink API

⚠️ This is a work in progress and not all features area available yet.
Currently only login, getDevices and toggleDevice methods are implemented.

Usage #
This package is a pure Dart package, and should work in any platform that Dart of Flutter supports.
import 'package:dart_ewelink_api/dart_ewelink_api.dart';

//...

const ewelink = Ewelink({
email: '<your ewelink email>',
password: '<your ewelink password>',
region: '<your ewelink region>',
});
await ewelink.getCredentials();

List<EwelinkDevice> devices = await ewelink.getDevices();
await ewelink.toggleDevice(deviceId: devices.first.deviceid);
copied to clipboard
Additional information #
Any help to develop other features will be welcomed. Feel free to contact me or PR.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.