ktfo Posted March 15, 2019 Report Posted March 15, 2019 I am looking to get information such as current map, amount of players, etc. from multiple specified IP addresses - how would one go about doing this in the best way? I found it can be achieved through this API call: https://api.steampowered.com/IGameServersService/GetServerList/v1/?key=xxx&limit=5&filter=\gameaddr\x.x.x.x I want to check upwards of 50-100 servers every 10-20 seconds - is this possible? Thanks. Quote
Dr. McKay Posted March 15, 2019 Report Posted March 15, 2019 I'm not aware of any way to request multiple IPs at once using that API method. You'd need to either make a request for each IP, find a tag that each server you're interested in has and use \gametype\taggoeshere and filter the output yourself, or use a Source engine query library. Quote
ktfo Posted March 16, 2019 Author Report Posted March 16, 2019 (edited) I'm not aware of any way to request multiple IPs at once using that API method. You'd need to either make a request for each IP, find a tag that each server you're interested in has and use \gametype\taggoeshere and filter the output yourself, or use a Source engine query library. That's a shame. I'm seeing \white\1 Servers that are whitelisted is in the filters list - what is this exactly? Can you add server addresses to a local whitelist and search for them only? I've looked around and can't find any documentation whatsoever. In the Steam client there's a "favorite" tab where you can query favorited servers only, is there any way you can simulate that (local whitelist, set of addresses) using Node in any way? Thanks. Edited March 16, 2019 by ktfo Quote
Dr. McKay Posted March 16, 2019 Report Posted March 16, 2019 No, \white\1 is for finding Valve servers. The favorites tab bypasses the Steam master server entirely and sends direct Source engine queries to those servers. Quote
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.