EdeskyClient class

Edesky client to query https://edesky.cz API.

You have to provide apiKey! You can get one at https://edesky.cz when you sign up.

Constructors

EdeskyClient({required Client httpClient, required String apiKey})
Creates edesky client

Properties

apiKey String
API key is required! Requests will not work without API key! You have to create an account at https://edesky.cz to get an API key
final
hashCode int
The hash code for this object.
no setterinherited
httpClient ↔ Client
HTTP client.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the http client
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryDashboard(int id) Future<Dashboard>
Gets a single dashboard by id.
queryDashboards() Future<List<Dashboard>>
Gets all dashboards.
queryDocuments({required String keywords, String searchWith = 'es', String? createdFrom, int? dashboardId, int includeTexts = 0, String order = 'score', int page = 1}) Future<List<Document>>
Search for documents.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited