Hey everyone. I think Valve recently changed the amount of requests you can do to their community data API ( https://partner.steamgames.com/documentation/community_data ).
I'm trying to get some group information from their API. I'm able to peoples groups using this API call, but the problem is that it doesn't give you any additional information besides the gid. (http://api.steampowered.com/ISteamUser/GetUserGroupList/v1/?key=XXXXXXXXXXXXXXX&steamID=76561197975069600), which means you need to loop through the gids and get additional information such as the name. http://steamcommunity.com/gid/4608373/memberslistxml/?xml=1
It looks like though Valve decided to limit their server requests or something, since I keep getting blank results.
Does anyone know what I'm doing wrong?
Yeah, Valve might have changed something about this, a user-script 'LoungeStats' for CSGOLounge.com got affected by this as well (if this is even the same thing), where the user is sending requests to the steamcommunity.com market listing pages and gets either rate limited (429 status code) or the service becomes unavailable (503) randomly for one request, even though, AFAIK, the script is sending requests one by one, and not multiple requests simultaneously.
Thanks for the reply! Really means a lot. Any idea if they managed to fix this issue?
Apologies for late reply, but Valve might have fixed this issue silently, there hasn't been any reports for this issue anymore (LoungeStats).
No problem at all! It's kind of weird. I'm hitting the HTTP 329 rate limit error only for the group memberlists xml lists (https://steamcompanion.com/groups.php?id=groups), but for all the other stuff it's not giving me a rate limit error. https://steamcompanion.com/groups.php?id=rss
Sorry for the tech talk.
Perhaps there is a weird fault in the request headers? What are the headers you are sending?
Sorry for the delay. Power went out last week, and I'm not quite sure how to check what request headers I'm sending with PHP/CURL. Tried curl_getinfo, but that just returns 0. Any idea?
Plenty of answers on Stackoverflow and Google. http://stackoverflow.com/a/2138886
Anyway, I was thinking you could copy the request headers to be the same as if the script was a browser, maybe then something changes.
Though I checked the links in the post and it seems that the issue is resolved.. ? I see 200 status code now.
Thanks for the links! I've added that to my code there. Learned something new today.
The 439 - Too many requests errors seem to come and go, even when I turn off the group requests. Sometimes it happens for long periods of times, sometimes only once in a while.
Maybe the best way is to re-think the way the website fetches groups.
Thanks for all your time ncla. You're great!
You are currently replying to another tree, would you like to make a top level comment? Reply
In order to reply to this thread,
you must login via Steam.