Cubson Posted July 18, 2021 Report Share Posted July 18, 2021 I only want to get the amount of gems a user has, so I don't have to load the whole inventory because gems are (usually) the first item in all Steam inventories. Is there any way to achieve that without loading the wholle inventory? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 20, 2021 Report Share Posted July 20, 2021 You can use the count URL parameter to filter how many items are returned, like this: https://steamcommunity.com/inventory/76561198006409530/753/6?count=1 Cubson 1 Quote Link to comment Share on other sites More sharing options...
Cubson Posted July 20, 2021 Author Report Share Posted July 20, 2021 7 hours ago, Dr. McKay said: You can use the count URL parameter to filter how many items are returned, like this: https://steamcommunity.com/inventory/76561198006409530/753/6?count=1 Thank you very much! But no native support if I understood you correctly? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 20, 2021 Report Share Posted July 20, 2021 Native support for what, filtering by item name? No. Cubson 1 Quote Link to comment Share on other sites More sharing options...
Cubson Posted July 21, 2021 Author Report Share Posted July 21, 2021 Native support for changing the count parameter. So I'll have to edit the library to add that? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 22, 2021 Report Share Posted July 22, 2021 No, there isn't any native support in the library for that. It would probably be easier for you to just manually send the request and parse the JSON yourself. Cubson 1 Quote Link to comment Share on other sites More sharing options...
Cubson Posted July 22, 2021 Author Report Share Posted July 22, 2021 1 hour ago, Dr. McKay said: No, there isn't any native support in the library for that. It would probably be easier for you to just manually send the request and parse the JSON yourself. Okay, thank you again! Quote Link to comment Share on other sites More sharing options...
Jack Nolddor Posted August 21, 2021 Report Share Posted August 21, 2021 Note that gems can be split into different inventory slots as well as sack of gems. Just saying... Quote Link to comment Share on other sites More sharing options...
Cubson Posted August 22, 2021 Author Report Share Posted August 22, 2021 7 hours ago, Jack Nolddor said: Note that gems can be split into different inventory slots as well as sack of gems. Just saying... Yep, but I doubt it'd go beyond the first page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.