edeskyclient 0.0.1 copy "edeskyclient: ^0.0.1" to clipboard
edeskyclient: ^0.0.1 copied to clipboard

outdated

Dart client for edesky API

Edesky client #

Dart client for edesky.cz API

Usage #

dependencies:
    edeskyclient: ^0.0.1

import 'package:edesky/edesky.dart';

main() async {
  final edesky = EdeskyClient(
    apiKey: 'xyz', //insert your api key
  );

  // Fetch all dashboards
  final dashboards = await edesky.queryDashboards();
  print(dashboards.first.name);

  // ...

  // Fetch single dashboard by ID
  final dashboard = await edesky.queryDashboard(1);
  print(dashboard.name);

  // ...

  // Search documents
  final searchResult = await edesky.queryDocuments(keywords: 'prodej');
  print("${searchResult.first.name}, ${searchResult.first.url}");

  // close http client when it's done being used
  edesky.close();

  // ...
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
points
24
downloads

Publisher

verified publisherstol.dev

Weekly Downloads

Dart client for edesky API

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, meta, xml

More

Packages that depend on edeskyclient