xPaw/SteamWebAPIDocumentation

[Bug] wrong URL

Revadike opened this issue · 3 comments

For example:
image

Opens/executes the following page:
https://api.steampowered.com/IStoreService/GetAppList/v1/?key=XXX&include_hardware=1

I expect several other parameters with 0 as value.
Also, booleans mismatch between false/true and 0/1, but that's not really an issue.

I don't know if any of the booleans in GetAppList change the result when explicitly set to 0, but I'd like to add that 0 will make a difference here:

https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/?steamid=76561198044364065&skip_unvetted_apps=0

GetOwnedGames always skips "unvetted" apps unless skip_unvetted_apps is explicitly set to 0.

I checked to see if GetSupportedAPIList returns information about what booleans are 1 by default, but unfortunately it does not:

{"name":"skip_unvetted_apps","type":"bool","optional":true,"description":"if set, skip unvetted store apps"}

Because of how skip_unvetted_apps works (I don't know any more examples like this), I too would prefer the documentation page to explicitly add all booleans to the URL when executing an API endpoint.

I see, good to know.

Thanks for the quick improvement @xPaw!