Skip to content
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

Retrieve also game/software key #37

Open
LeeOnell opened this issue Oct 29, 2017 · 2 comments
Open

Retrieve also game/software key #37

LeeOnell opened this issue Oct 29, 2017 · 2 comments

Comments

@LeeOnell
Copy link

Hello,

I don't know if you already found that, but when I searched to also retrieve game and software key from your script, I found a bigger information source just by adding this parameter ?all_tpkds=true
to the URL request https://www.humblebundle.com/api/v1/order/XXXXXXXX?all_tpkds=true

This parameter add a new branch tpkd_dict to the JSON with information of all other items of a bundle.

It could be usefull to add redeem status and retrieve all key of all game/software.

I deepened the subject, but I'm a newbies in Python.

Bye

@MestreLion
Copy link
Owner

That's a very, very nice finding!!! I'll try to look it and see what new features this new JSON branch could bring. Thanks for sharing!

@LeeOnell
Copy link
Author

LeeOnell commented Nov 6, 2017

For information the source of my discover:
https://gist.github.com/Nielk1/530ff5b271696ba19f70e314c8dba517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants