Skip to content

Humble App support #1223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
reyaz006 opened this issue Apr 20, 2022 · 8 comments
Open

Humble App support #1223

reyaz006 opened this issue Apr 20, 2022 · 8 comments
Labels
feature-request New feature needs to be implemented.

Comments

@reyaz006
Copy link

Problem description

No response

Feature description

https://www.humblebundle.com/membership/collection
This is a collection of 50+ games available to monthly subscribers. New games get added, old games get removed over time.

Some technical details:

  • The official app installation seem to crash on anything below Windows 10.
  • Authorization requires a click / auth token from browser.
  • Installation of the game works through butler.exe (helper app, seems to be developed by itch corp), with command-line containing an URL to the full .zip package, which gets extracted to the download folder.

I think it would be useful to be able to manage this kind of library, know when games receive updates and maybe be able to store the original .zip packages.

Alternatives

No response

Additional information

No response

@Nocccer
Copy link
Collaborator

Nocccer commented Apr 20, 2022

Butler is available for every platform. So could be a feature. Feel free to implement it, if you can.

@philipwilk philipwilk added the feature-request New feature needs to be implemented. label Apr 23, 2022
@ChlorideCull
Copy link

I've reverse engineered the API already, copying here for ease of access:


  1. authenticate with oauth to https://www.humblebundle.com/oauth/authorize - it uses PKCE (RFC 7636) with the user.client scope and the client_id is humble_client
  2. exchange redirect code using /oauth/token like a regular oauth login
  3. call /client/user?session_start=1&install_source=humble with the bearer token, to get user info
  4. call /client/catalog?index=0, incrementing the index until you get an empty array back, this call returns everything you can download, basically
  5. to download stuff, send a post to /api/v1/user/download/build with machine_name=<machine_name from inside download object, not the root object>&product_machine_name=<machine_name from inside download object, not the root object>, download_url and signature_url in the response is relevant

@flavioislima
Copy link
Member

@ChlorideCull thanks for that, for sure might be useful in the future.

@nobodywasishere
Copy link

@mwt
Copy link

mwt commented May 10, 2022

In my experience, the humble api is pretty slow. So, you'll probably want to minimize the number of processes that are blocked by this sync.

@TheJoeSchr
Copy link

Any updates on this?

@arielj
Copy link
Collaborator

arielj commented Dec 15, 2022

Any updates on this?

Nobody is working on this integration as far as I know

@BetterToAutomateTheWorld

A shame that nobody seems interested in this feature anymore, I guess I'm not alone, having bought many charity bundles to the point I accumulated hundreds of games over the years (more than any other platform) and wanted to have everything available at the same place using Heroic Games Launcher 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature needs to be implemented.
Projects
None yet
Development

No branches or pull requests

10 participants