humble-cli icon indicating copy to clipboard operation
humble-cli copied to clipboard

Possible Feature: Retrieving Product Keys and possibly other Metadata

Open camelusminimus opened this issue 1 year ago • 1 comments

A few years back I dabbled with some R code to retrieve Metadata about my previously bought bundles...

One rather interesting aspect was that I could download a list of all steam keys I had not requested (or rather I could download a list of all possibly available steam keys, and then filter out those where the api actually returned a steam key)

Would it be interesting to implement a feature enabling this use case in humble-cli?

I could imagine a subcommand like humble-cli download-meta -f yaml <bundle_id> that would write humble-meta.yaml(json/csv) file into the same directory structure (per bundle and per download_item) that the downloads are written into today.

A lot of that information can be made available already using the humble-cli details command, though using a tree-like data structure like yaml/json would make it easier to be (much) more verbose.

If the format would be "defined" using json-schema, i.e. not only a copy of the current humble bundle REST responses but maybe a little bit more thought out? (Aspects to maybe thing about could be for example how to handle metadata for file versions that change? Would it make sense to update such a metadata file and keep a "previous-versions" data structure?)

Anyways, I would be interested to gage interest in and the relevance/realism of such a feature?

camelusminimus avatar Aug 27 '24 10:08 camelusminimus