Page 1 of 1

isbntools tool to lookup isbn

Posted: Tue Apr 20, 2021 9:25 am
by Stevyn
isbntools tool to lookup isbn
https://github.com/xlcnd/isbntools
Take a look at this tool https://github.com/xlcnd/isbntools. From the command line you can enter commands like this isbn_meta 978032153496 and get metadata about books from WorldCatalogue, Google Books, isbndb.com, OpenLibrary, ... and it is very easy to build more providers with a few lines of python!

You can access ISBN ranges (isbn_mask ISBN) and editions isbn_editions ISBN and with this info query more specific databases.
ISBNTools Practical Example Use Case – Open Access to Database with ISBN (books, etc.) https://zuberbuehler-associates.ch/blog/?p=5497

ISBN Tools – Wiki superior to Goob (Google) and Openl (OpenLibrary) – Using a Python Script to Query Open ISBN Databases: https://zuberbuehler-associates.ch/blog/?p=5324

https://pypi.org/project/isbnlib/
https://github.com/xlcnd/isbntools/blob ... s/devs.rst

Re: isbntools tool to lookup isbn

Posted: Wed Apr 21, 2021 9:40 am
by Stevyn
install

Code: Select all

apt install python-pip
pip install --upgrade pip
pip install isbntools
test:

Code: Select all

isbntools

Re: isbntools tool to lookup isbn

Posted: Wed Apr 21, 2021 3:26 pm
by Stevyn
example isbn : 0812517725

Code: Select all

# isbn_meta 0812517725

Type:      BOOK
Title:     The Great Hunt - Book Two Of 'The Wheel Of Time'
Author:    Robert Jordan
ISBN:      9780812517729
Year:      1991
Publisher: Tor Fantasy

Code: Select all

# uses the OpenLibrary.org api (no key is needed)
isbn_meta 0812517725 openl

# goob uses the Google Books service (no key is needed) is the default option
isbn_meta 0812517725
isbn_meta 0812517725 goob

isbn_meta 0812517725 wiki

# output format json
isbn_meta 0812517725 goob json