ISBN Validator API - Dart/Flutter Client
ISBN Validator checks ISBN-10 and ISBN-13 numbers for valid checksums, parses their registration group, publisher, and title parts, and converts a valid number to its ISBN-10 and ISBN-13 forms. Pass any raw book identifier with or without hyphens to inspect normalized digits, format type, and specific rejection reasons.
This is the Dart/Flutter client for the ISBN Validator API.
Installation
Add this to your pubspec.yaml:
dependencies:
apiverve_isbnvalidator: ^1.2.7
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage
import 'package:apiverve_isbnvalidator/apiverve_isbnvalidator.dart';
void main() async {
final client = IsbnvalidatorClient('YOUR_API_KEY');
try {
final response = await client.execute({
'isbn': '978-0-306-40615-7'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response
{
"status": "ok",
"error": null,
"data": {
"valid": true,
"isbn": "978-0-306-40615-7",
"type": "ISBN-13",
"normalized": "9780306406157",
"formatted": "978-0-306-40615-7",
"checksum_valid": true,
"prefix": "978",
"group": "0",
"publisher": "306",
"title": "40615",
"check_digit": "7",
"error": null,
"isbn10": "0306406152",
"isbn13": "9780306406157"
}
}
API Reference
- API Home: ISBN Validator API
- Documentation: docs.apiverve.com/ref/isbnvalidator
Authentication
All requests require an API key. Get yours at apiverve.com.
License
MIT License - see LICENSE for details.
Built with Dart for APIVerve
Libraries
- apiverve_isbnvalidator
- ISBN Validator API client for Dart/Flutter