Skip to content

Commit

Permalink
Add FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
lpradel committed Apr 10, 2023
1 parent 3f7b299 commit 28c3caf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Expand Up @@ -126,6 +126,24 @@ GetNewsForApp getNewsForApp = client.<GetNewsForApp> processRequest(request);

The result data is in the `GetNewsForApp` POJO. You can access it using the accessors of the POJO in question.

## FAQ

**Q: `GetOwnedGames` request returns `null` values for game name, only `appId` is present in output?**

**A:** Make sure to set the designated request option `include_appinfo` in your request with the builder method
`includeAppInfo` like so:
```
GetOwnedGamesRequest req = new GetOwnedGamesRequest.GetOwnedGamesRequestBuilder( "steamId" ).includeAppInfo(true).buildRequest();
```

Or use the other factory method
`SteamWebApiRequestFactory.createGetOwnedGamesRequest(String steamId, boolean includeAppInfo, boolean includePlayedFreeGames, List<Integer> appIdsFilter)`
which accepts `includeAppInfo`.

See [Steam API documentation](https://developer.valvesoftware.com/wiki/Steam_Web_API#Arguments_7) for `GetOwnedGames`
and [this StackOverflow question](https://stackoverflow.com/a/73028555/1055743) for detailed answer.


## Contributing

1. Fork it!
Expand Down

0 comments on commit 28c3caf

Please sign in to comment.