isbntools tool to lookup isbn

Develop software to help the small bookshop owner to catalog & sell online.

New Project started 2021
Post Reply
User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
isbntools tool to lookup isbn

Post by Stevyn » Tue Apr 20, 2021 9:25 am

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
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: isbntools tool to lookup isbn

Post by Stevyn » Wed Apr 21, 2021 9:40 am

install

Code: Select all

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

Code: Select all

isbntools
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: isbntools tool to lookup isbn

Post by Stevyn » Wed Apr 21, 2021 3:26 pm

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
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply