getAuthors method
Search authors in the ISBNdb
Implementation
Future<AuthorQueryResult> getAuthors(
String query, {
int page = 1,
int pageSize = 20,
}) async {
final response = await _get(
"authors/$query",
queryParameters: <String, Object?>{
"page": page,
"pageSize": pageSize,
},
);
return AuthorQueryResult.fromJson(response);
}