mirror of
https://github.com/lutris/humblebundle-python.git
synced 2026-11-05 01:27:19 +00:00
An unofficial library for querying Humble Bundle
- Python 100%
| humblebundle | ||
| .gitignore | ||
| examples.py | ||
| LICENSE | ||
| README.rst | ||
| setup.cfg | ||
| setup.py | ||
humblebundle-python
===================
humblebundle-python is an unofficial library for querying the undocumented Humble Bundle API.
Usage
-----
Basic usage looks something like::
client = humblebundle.HumbleApi()
client.search_store("ftl")
client.login("username@example.com", "secret")
gamekeys = client.get_gamekeys()
for gamekey in gamekeys:
order = client.get_order(gamekey)
for subproduct in order.subproducts:
print(subproduct)
See examples.py for more examples
humblebundle-python is not affiliated in any way with Humble Bundle, Inc.