edeskyclient 1.0.2+1

Dart native js
Flutter Android iOS web

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

Edesky client #

Pub Build Status

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

Usage #

dependencies:
    edeskyclient: ^1.0.1+1

import 'package:edesky/edesky.dart';
import 'package:http/http.dart';

Future<void> main() async {
  final edesky = EdeskyClient(
    apiKey: 'xyz', //insert your api key
    httpClient: Client(),
  );

  // 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
110
pub points
0%
popularity

Publisher

stol.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, http, meta, xml

More

Packages that depend on edeskyclient