Skip to content

witekbobrowski/humblecritic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’― Get score for HumbleBundle bundle

Bundles supported:

  • Book bundle (ratings from Goodreads)
  • Comic bundle (ratings from Goodreads)
  • Game bundle
  • Software bundle
  • Mobile bundle

Installation

Clone this repository and from the project directory run install.sh

$ ./install.sh

And thats basically it.

Note: To access some services (like goodreads) the script needs to have api keys. You will be promped to pass these in if needed.

Usage

The installation process will supply entry point for the script so you can run it like so

$ humblecritic [-h] [-l [urls]] [-j file] [-v]

Add one or more option from below for customised behaviour:

  • -h, --help Display help message and exit.

  • -l, --link [urls] URL's for HumbleBundle bundles to be scraped and reviewed.

  • -j, --json scraped-data.json Export scraped data to json.

  • -v, --version Print the script version.

NOTE: Current version requires -l option with desired bundle urls for any results.

Contents

I've tried to break down the logic to modules so I can easily extend the functionality in the future (ex. by supporting game bundles and getting reviews from metacritic.com).

.
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ humblecritic
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ __main__.py
β”‚Β Β  β”œβ”€β”€ config.py
β”‚Β Β  β”œβ”€β”€ goodreads
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ book.py
β”‚Β Β  β”‚Β Β  └── client.py
β”‚Β Β  β”œβ”€β”€ humblebundle
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ builder.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bundle.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ item.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ scraper.py
β”‚Β Β  β”‚Β Β  └── tier.py
β”‚Β Β  └── review.py
β”œβ”€β”€ install.sh
β”œβ”€β”€ logo.png
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ setup.py
└── tests
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ context.py
    └── humblebundle_test.py

About

πŸ’― Get score for HumbleBundle bundles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published