ISBNdb class

The main object for using the ISBNdb API You need to init the class with your own key See https://isbndb.com/isbn-database

Constructors

ISBNdb(String _key, {Dio? dio})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAuthor(String name, {int page = 1, int pageSize = 20, String? language, DateTime? publishedFrom, DateTime? publishedTo, BookColumn? column}) → Future<Author?>
Get author details.
getAuthors(String query, {int page = 1, int pageSize = 20}) → Future<AuthorQueryResult>
Search authors in the ISBNdb.
getBook(String isbn, {bool withPrices = false}) → Future<Book?>
Get book details from an ISBN
getBooks(String query, {int page = 1, int pageSize = 20, int? year, int? edition, bool? shouldMatchAll, String? language, BookColumn? column, DateTime? publishedFrom, DateTime? publishedTo, List<String>? thema, int? offset}) → Future<BookQueryResult>
Search books in ISBNdb.
getBooksByThema(String code, {bool includeDescendants = true, String? language, int page = 1, int pageSize = 20, DateTime? publishedFrom, DateTime? publishedTo}) → Future<ThemaBooksResponse>
Get at most 1,000 books classified under a Thema code, best matches first.
getBooksFromISBNs(List<String> isbns) → Future<BookQueryResult>
Get book details from a list of ISBNs The list must fit within KeyDetails.bulkLimit returned by getKeyDetails.
getKeyDetails() → Future<KeyDetails>
Get details about the current API key and plan usage.
getPublisher(String name, {int page = 1, int pageSize = 20, String? language, DateTime? publishedFrom, DateTime? publishedTo}) → Future<Publisher?>
Get the list of books from a publisher.
getPublishers(String query, {int page = 1, int pageSize = 20}) → Future<PublisherQueryResult>
Search publishers in the ISBNdb.
getStats() → Future<Stats>
Get global dataset statistics from ISBNdb.
getSubject(String name, {int page = 1, int pageSize = 20, String? language, DateTime? publishedFrom, DateTime? publishedTo}) → Future<Subject?>
Get a list of books about a given subject.
getSubjects(String query, {int page = 1, int pageSize = 20}) → Future<SubjectQueryResult>
Search subjects in the ISBNdb.
getThema(String code) → Future<ThemaDetailsResponse>
Get a Thema code with its broader codes and direct children.
getThemaCodes({String? parent, ThemaType? type, String? q, List<String>? codes, bool withAncestors = false, int page = 1, int pageSize = 20}) → Future<ThemaListResponse>
Browse or search the Thema scheme, optionally looking up specific codes.
getUpdatedBookFeed({int page = 1, int pageSize = 100, DateTime? lastUpdated, String? cursor}) → Future<UpdatedBookFeed>
Get the paginated feed of recently updated ISBNs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchBooks({String? isbn, String? isbn13, String? author, String? text, String? subject, String? publisher, List<String>? thema, int page = 1, int pageSize = 20, DateTime? publishedFrom, DateTime? publishedTo}) → Future<BookQueryResult>
Search by ISBN or by author, text, publisher, legacy subject or Thema.
toString() → String
A string representation of this object.
inherited

Operators

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