WebAPI/GetServersAtAddress

From Team Fortress Wiki
< WebAPI
Revision as of 16:36, 15 April 2014 by RaidenMagmus (talk | contribs) (Draft for GetServersAtAddress API)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

URL

GET http://api.steampowered.com/ISteamApps/GetServersAtAddress/v1

Method-specific parameters

addr
IP Address of Server (IPv4 format)

Result data

success
Returns true if ip address is valid, does not mean server is functioning properly.
servers
A list of every server from this ip address.
addr
Gives the ip address, and the port number. Ex: "64.94.100.204:27015"
gmsindex
Gives the gmsindex. (?) Ex: 65534
appid
Gives the steam game appid. Ex: 730
gamedir
Tells which directory the game is from. Ex: "csgo"
region
Gives the region of the server. Ex: 1
secure
Boolean, if server is secure or not. Ex: true
lan
Boolean, if server is a lan game. Ex: false
gameport
Gives the port number for the server. Ex: 27015
specport
Gives the specport. Ex: 0


Example usage: http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=64.94.100.204&format=json