mi_iot_token 0.1.0 copy "mi_iot_token: ^0.1.0" to clipboard
mi_iot_token: ^0.1.0 copied to clipboard

A Flutter package for xiaomi iot token extract.

A xiaomi iot token extractor.

pub package

Features #

You can login to your mi iot account by your id & password, and get device list.

Getting started #

Add dependency #

dependencies:
  mi_iot_token: ^0.0.2

Usage #

void main() async {
  var auth = Auth();
  var api = Api("cn"); // your country code
  var user = await auth.login(
      "your id or name", "password"); // your id or name and password

  var data = await api.getDeviceList(
      user["userId"], user["ssecurity"], user["token"], "cn");

  print(data);
}

License #

Released under the MIT License.

2
likes
0
points
55
downloads

Publisher

verified publisherkujohnln.com

Weekly Downloads

A Flutter package for xiaomi iot token extract.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, crypto, http, universal_io

More

Packages that depend on mi_iot_token