edeskyclient

Creator: coderz1093

Last updated:

0 purchases

edeskyclient Image
edeskyclient Images

Languages

Categories

Add to Cart

Description:

edeskyclient

Edesky client #


Dart client for Czech service edesky.cz API. Supports dashboards and documents querying.
Usage #
dependencies:
edeskyclient: ^1.1.0

copied to clipboard
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();

// ...
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.