Difference between revisions of "WebAPI/ResolveVanityURL"

From Team Fortress Wiki
Jump to: navigation, search
(Result Data: It might go without saying, but it *is* optional.)
m
Line 11: Line 11:
 
;response:
 
;response:
 
:;success: The status of the request. 1 if successful, 42 if there was no match.
 
:;success: The status of the request. 1 if successful, 42 if there was no match.
:;steamid ''(<span style="color: red;">Optional</span>)'': The 64 bit Steam ID the vanity URL resolves to. Not returned on resolution failures.
+
:;{{API optional|steamid}}: The 64 bit Steam ID the vanity URL resolves to. Not returned on resolution failures.
:;message ''(<span style="color: red;">Optional</span>)'': The message associated with the request status. Currently only used on resolution failures.
+
:;{{API optional|message}}: The message associated with the request status. Currently only used on resolution failures.
  
 
{{Languages|WebAPI/ResolveVanityURL}}
 
{{Languages|WebAPI/ResolveVanityURL}}
 
[[Category:WebAPI|ResolveVanityURL]]
 
[[Category:WebAPI|ResolveVanityURL]]

Revision as of 13:19, 10 December 2011

URL

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

See the ID list for a valid ID.

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.

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.