Skip to content

ravila4/abebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python Wrapper for AbeBooks.com REST API

Usage

Search book prices by ISBN:

from abebooks import AbeBooks

ab = AbeBooks()
results = ab.getPriceByISBN(9780062941503)
if results['success']:
    best_new = results['pricingInfoForBestNew']
    best_used = results['pricingInfoForBestUsed']

# Best New Price
print(best_new['bestPriceInPurchaseCurrencyWithCurrencySymbol'])
# Best Used Price
print(best_used['bestPriceInPurchaseCurrencyWithCurrencySymbol'])

About

A Python wrapper to AbeBooks REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages