Bug 32275

Summary: Fill blank record in basic editor using ISBN with Google Books API
Product: Koha Reporter: Jason Robb <jrobb>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, egpetridis, lauren_denny, lucas, m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jason Robb 2022-11-18 18:18:35 UTC
Bug 14242 added the ability to fill the OPAC purchase suggestion form with data from the Google Books API by entering an ISBN.

My catalogers would be ecstatic if that functionality could be used to populate the relevant fields on a blank bib record in the basic editor as a starting point for creating records from scratch. This would save a substantial amount of time entering data.

Logical mappings would be:
volumeInfo.title > 245$a
volumeInfo.subtitle > 245$b
volumeInfo.authors > 100$a
volumeInfo.publisher > 264$a
volumeInfo.publishedDate > 264$c
volumeInfo.pageCount > 300$a
volumeInfo.dimensions.height > 300$c
volumeInfo.description > 500$a
Comment 1 Manos PETRIDIS 2023-03-07 16:40:00 UTC
I suppose this would work either by the user typing-in the/an ISBN of the work and trying to enter an incomplete record, or by clicking on a new, specific button. 
As I didn't know of the purchase suggestion automation and haven't tried it yet, does it look for all variants of ISBN in Google books?
Comment 2 David Nind 2023-08-22 10:52:16 UTC
Jason demonstrated his ISBN Google Button (with JS in IntranetUserJS) implementation of this in the 17 August 2023 Web Development Special Interest Group:
https://www.youtube.com/watch?v=rSqkQmc2-2E&t=1768s
Comment 3 Manos PETRIDIS 2023-09-09 12:51:29 UTC
This would also be a useful addition to the purchase suggestion form (/cgi-bin/koha/opac-suggestions.pl?op=add).
Comment 4 Katrin Fischer 2023-09-09 12:53:59 UTC
(In reply to Manos PETRIDIS from comment #3)
> This would also be a useful addition to the purchase suggestion form
> (/cgi-bin/koha/opac-suggestions.pl?op=add).

This is alredy implemented, see: bug 14242
Comment 5 Manos PETRIDIS 2023-09-11 12:12:25 UTC
Oops! [BLUSH]