Skip to main content

apiverve_isbnvalidator 1.2.4 copy "apiverve_isbnvalidator: ^1.2.4" to clipboard
apiverve_isbnvalidator: ^1.2.4 copied to clipboard

ISBN Validator checks ISBN-10 and ISBN-13 numbers for valid checksums and parses their registration group, publisher, and title parts. Pass any raw book identifier with or without hyphens to inspect n [...]

ISBN Validator API - Dart/Flutter Client #

ISBN Validator checks ISBN-10 and ISBN-13 numbers for valid checksums and parses their registration group, publisher, and title parts. Pass any raw book identifier with or without hyphens to inspect normalized digits, format type, and specific rejection reasons.

pub package License: MIT

This is the Dart/Flutter client for the ISBN Validator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_isbnvalidator: ^1.2.4

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
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
0
points
893
downloads

Publisher

unverified uploader

Weekly Downloads

ISBN Validator checks ISBN-10 and ISBN-13 numbers for valid checksums and parses their registration group, publisher, and title parts. Pass any raw book identifier with or without hyphens to inspect normalized digits, format type, and specific rejection reasons.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_isbnvalidator