humblebundle icon indicating copy to clipboard operation
humblebundle copied to clipboard

Retrieve also game/software key

Open LeeOnell opened this issue 7 years ago • 2 comments

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

LeeOnell avatar Oct 29 '17 16:10 LeeOnell

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!

MestreLion avatar Oct 30 '17 11:10 MestreLion

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

LeeOnell avatar Nov 06 '17 15:11 LeeOnell