steam-inventory icon indicating copy to clipboard operation
steam-inventory copied to clipboard

Only the first 500 items or so of inventories are being returned by this endpoint

Open zudsniper opened this issue 3 years ago • 2 comments

as this user noted, the response from the server does not return the entire users inventory. I suspect this to be a limitation with the deprecated 'request' dependency, but I am not sure. Any help would be greatly appreciated.


Hey, i can confirm that i have the same issue. I also recognized that only all Steam Inventory Items up to page 20 are listed in that JSON file. Every item beyond page 20 is not listed anymore.

Kind regards

Originally posted by @nerzlakai96 in https://github.com/ThunbergOlle/steam-inventory/issues/9#issuecomment-1124743823

zudsniper avatar Sep 17 '22 11:09 zudsniper

you can add &count=5000 (api maximum) to the api url btw the api is highly rate limited and the error will not be printed properly. Do you want me to submit a PR?

michabremicker avatar Nov 01 '22 16:11 michabremicker

Sure—& thank you, I found this out riiiiight after I implemented a recursive function to check invs… lol

On Tue, Nov 1, 2022 at 11:27 micha @.***> wrote:

you can add &count=5000 (api maximum) to the api url https://github.com/ThunbergOlle/steam-inventory/blob/3acce23b3854feaba7de0eee8bdf0b4227e393ee/index.js#L18 btw the api is highly rate limited and the error will not be printed properly. Do you want me to submit a PR?

— Reply to this email directly, view it on GitHub https://github.com/ThunbergOlle/steam-inventory/issues/10#issuecomment-1298793479, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2U6HKONVZYAZJHV34H74TWGFAFNANCNFSM6AAAAAAQO7B6TY . You are receiving this because you authored the thread.Message ID: @.***>

-- Sincerely, Jason P. McElhenney

zudsniper avatar Nov 01 '22 16:11 zudsniper