Edesky client

Pub

Dart client for Czech service edesky.cz API. Supports dashboards and documents querying.

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.

Libraries

edesky
Support for working with edesky API