Skip to content

Simple CLI tool to display all unclaimed keys you have on your humble bundle account.

Notifications You must be signed in to change notification settings

BatteredBunny/humblebundle-games

Repository files navigation

humblebundle-games

Simple CLI tool to display all unclaimed keys you have on your humble bundle account.

normal text output csv output opened in macos numbers

Humble bundle keys

Usage: humblebundle-games [OPTIONS] --token <TOKEN>

Options:
  -t, --token <TOKEN>    _simpleauth_sess cookie value
  -s, --steamdb          adds steamdb info to parsable formats like json and csv
  -f, --format <FORMAT>  format to output data in [default: text] [possible values: json, csv, text]
  -h, --help             Print help
  -V, --version          Print version

Usage

Find _simpleauth_sess cookie from browser and use it in token flag

git clone https://github.com/BatteredBunny/humblebundle-games
cd humblebundle-games
cargo run --release -- --token {YOUR COOKIE}

Run with nix flake

nix run github:BatteredBunny/humblebundle-games -- --token {YOUR COOKIE}

Output example

cargo run --release -- --format json --steamdb

[
    {
        "key": "Boomerang Fu",
        "choice_url": "https://www.humblebundle.com/membership/february-2021",
        "platform": "steam",
        "url": "https://steamdb.info/app/965680/",
        "user_score": 91.03,
        "price_us": 14.99
    },
    {
        "key": "Werewolf: The Apocalypse — Heart of the Forest",
        "choice_url": "https://www.humblebundle.com/membership/february-2021",
        "platform": "steam",
        "url": "https://steamdb.info/app/1342620/",
        "user_score": 79.29,
        "price_us": 14.99
    },
    {
        "key": "Trine 4: The Nightmare Prince",
        "choice_url": "https://www.humblebundle.com/membership/february-2021",
        "platform": "steam",
        "url": "https://steamdb.info/app/690640/",
        "user_score": 87.31,
        "price_us": 29.99
    },
]

About

Simple CLI tool to display all unclaimed keys you have on your humble bundle account.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published