Skip to content

heskarioth/pyabebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyabebooks

wrapper for abebooks.com via asyncio for speeding up your book search.

Installation

Dashboard Set up

This project makes use of Google Sheets for the Dashboard front-end and Python for back-end jobs. In order to set up a correct connection between the two, you need to create a ServiceAccount in Google Developer Console, enable Google Sheets API, share access to Google Sheet File to that ServiceAccount and create API Keys. You can follow this guide to get you up and running. After downloading the JSON credential file, rename it as sheets_creds.json and place it under the sheets_utils folder. The code is expecting a predefined template to be used as Dashboard, please make sure to copy this template and rename it Crypto Investment Tracker. Finally, ensure that your Sheet ID has been given to the GOOGLE_SHEET_ID variable in global_vars.

Installation

To install the package, go to location where you want to save project and follow the below commands:

git clone https://github.com/heskarioth/crypto_investment_tracker.git
cd crypto_investment_tracker
python3 setup.py install

Sample Usage

ab = Abebooks()

list_isbns = ['9784900737396','020161622X']

book_results  = ab.getPricingDataByISBN(list_isbns)

Methods Description:

  • getPricingDataByISBN Blablabla
    summary_get_overview_tab(kraken_dca_df,binance_dca_df)
  • getBookRecommendationByISBN
    summary_get_overview_tab(kraken_dca_df,binance_dca_df)
  • getPricingDataForAuthorTitleByBinding
    summary_get_overview_tab(kraken_dca_df,binance_dca_df)
  • getPricingDataForAuthorTitleBDP
    summary_get_overview_tab(kraken_dca_df,binance_dca_df)
  • getHighlightInventoryForBookSearch
    summary_get_overview_tab(kraken_dca_df,binance_dca_df)

Future Development

Currently there are no other major updates in the pipeline for this project as all abebook's available endpoints have been captured. For enhancements or additional use case recommendations, please reach out. I love extending my previous projects :).

License

MIT

Releases

No releases published

Packages

No packages published

Languages