Skip to main content

alexaquery_dart 1.2.1 copy "alexaquery_dart: ^1.2.1" to clipboard
alexaquery_dart: ^1.2.1 copied to clipboard

unlistedoutdated

A Dart library for querying Alexa devices.

Alexa Query #

A Dart library for querying Alexa devices.

API Reference #

All client methods return a Future.

Initialize Query Client

import "package:alexaquery_dart/alexaquery.dart";
final client = QueryClient(File("cookies.json"));

Check Login Status

bool isLoggedIn = await client.checkStatus(userId);

Login

bool loginSuccessful = await client.login(userId, amazon_refresh_token);

Get Devices

List<Device> devices = await client.getDeviceList(userId);
for(var device in devices) {
  print(device.accountName);
}

Get Notifications

List<Notification> notifications = await client.getNotifications(userId);
for(var n in notifications) {
  print(n.type);
}

Get Queue

Device device = getDevice();
Queue queue = await client.getQueue(userId, device.serialNumber, device.deviceType);
0
likes
0
points
69
downloads

Publisher

verified publishersmartclock.app

Weekly Downloads

A Dart library for querying Alexa devices.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, path_provider

More

Packages that depend on alexaquery_dart