Include free games in getOwnedGames, added custom thumbnail hover effect

This commit is contained in:
Sahat Yalkabov
2014-02-06 02:51:16 -05:00
parent 0774772dcd
commit 888f4eb86a
3 changed files with 20 additions and 1 deletions

View File

@ -361,6 +361,7 @@ exports.getSteam = function(req, res) {
},
ownedGames: function(done) {
query.include_appinfo = 1;
query.include_played_free_games = 1;
var qs = querystring.stringify(query);
request.get({ url: 'http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?' + qs, json: true }, function(error, request, body) {
done(error, body.response.games);