isbndb
2.6.0, released 5 days ago by julienlebren.dev
Dart service wrapper for the isbndb.com REST API to retrieve book details.
WASM-ready
What it does
Provides a Dart client for the ISBNdb API to fetch book details by ISBN, search for books, authors, publishers, and subjects, and inspect API usage stats and updated book feeds.
AI-written summary of version 2.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Your Flutter app needs to look up books or fetch publication details via ISBNdb.
- You want pre-configured API models and error handling for ISBNdb REST endpoints.
Skip it when
- You do not have a paid or trial ISBNdb API key.
- You need an offline database of books instead of a hosted cloud API.
Strengths
- Covers main ISBNdb features including books, authors, publishers, and recent update feeds.
- Provides typed exception handling with clear status codes and error codes.
Weaknesses
- Requires a third-party paid subscription API key for production use.
- Depends on an external hosted web service.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 4
Requires obtaining an API key from isbndb.com and initializing the service class with it.
final isbnDb = ISBNdb("your_key_here");
try {
final book = await isbnDb.getBook("9781092297370");
} on ISBNdbException catch (e) {
print("ISBNdb error: ${e.message}");
}Works with
Packages commonly used together with isbndb: ones it builds on, ones built on it, and its own family.
- json_annotationisbndb depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- intlisbndb depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- dioisbndb depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- freezed_annotationisbndb depends on itAnnotations for the freezed code-generator.