BookMetadataService
class BookMetadataService (View source)
Methods
array|null
fetch(string $isbn)
Retrieve merged book metadata using Google Books and OpenLibrary APIs.
Details
array|null
fetch(string $isbn)
Retrieve merged book metadata using Google Books and OpenLibrary APIs.
The method attempts to fetch information from both sources. If at least one source returns data, a normalized merged array is returned—prioritizing Google Books data when available.