Jump to content


getOwenedApps Clarification

node.js node-steam-user

  • Please log in to reply
1 reply to this topic

#1 anupkrbid-dev



  • Member
  • Pip
  • 3 posts

Posted 28 August 2018 - 02:02 PM

When I call this API in the browser 


I get 

  "response": {
    "game_count": 2,
    "games": [
        "appid": 304390,
        "playtime_2weeks": 20,
        "playtime_forever": 20
        "appid": 654310,
        "playtime_2weeks": 20,
        "playtime_forever": 20

Which is correct 
You can confirm by seeing my profile https://steamcommunity.com/id/auto-bot

TF2 doesn't show up as it is free I guess.


but when I call 


I get an array of 207 appIDs out of which 204 are the ones that steam adds by default.


So what I wanted to ask was that Is there any way I can only get the appIDs of games that are present in my account.

Your help will be greatly appreciated.

#2 Dr. McKay

Dr. McKay


  • Administrator
  • 2,208 posts

Posted 28 August 2018 - 05:17 PM

For the API and profile, Steam ignores apps in sub 0 unless they have playtime on record. If your account has played TF2, you can make it show up in the WebAPI by passing include_played_free_games=1.


I assume you're asking if there's a way to get only the AppIDs of games that are granted by a sub other than sub 0. You'll need to go through your licenses array, ignore sub 0, get product info for each package granted by a license, and see what AppIDs the package grants.

Also tagged with one or more of these keywords: Suggestion, node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users