Difference between revisions of "WebAPI/ResolveVanityURL"

From Team Fortress Wiki
Jump to: navigation, search
m (Added HTTP method)
m (Method-specific Parameters)
Line 3: Line 3:
  
 
== Method-specific Parameters ==
 
== Method-specific Parameters ==
;vanityurl: The vanity URL part of a user's Steam profile URL. This is the basename of <nowiki>http://steamcommunity.com/id/</nowiki> URLs.
+
;vanityurl: The vanity URL part of a user's Steam profile URL. This is the basename of <nowiki>http://steamcommunity.com/id/</nowiki> URLs. Queries should be sent to the Steam server using this format http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX&vanityurl=gabenewell
  
 
== Result Data ==
 
== Result Data ==

Revision as of 13:45, 12 October 2013

URL

GET http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/

Method-specific Parameters

vanityurl
The vanity URL part of a user's Steam profile URL. This is the basename of http://steamcommunity.com/id/ URLs. Queries should be sent to the Steam server using this format http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX&vanityurl=gabenewell

Result Data

response
success
The status of the request. 1 if successful, 42 if there was no match.
steamid (Optional)
The 64 bit Steam ID the vanity URL resolves to. Not returned on resolution failures.
message (Optional)
The message associated with the request status. Currently only used on resolution failures.