Difference between revisions of "WebAPI/ResolveVanityURL"
< WebAPI
(Undo edit by NineteenEleven (Talk) (1466231) This is what the URL section is for) |
(Added example and arguments to clarify usage) |
||
Line 1: | Line 1: | ||
== URL == | == URL == | ||
<nowiki>GET http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/</nowiki> | <nowiki>GET http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/</nowiki> | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=XXXXXXXXXXXXXXXXXXXXXXX&vanityurl=userVanityUrlName | ||
+ | |||
+ | == Arguments == | ||
+ | |||
+ | ;key: Your [https://steamcommunity.com/dev/apikey Steam API Key] | ||
+ | ;vanityurl: The user's vanity URL that you would like to retrieve a steam ID for, e.g. http://steamcommunity.com/id/gabelogannewell would use "gabelogannewell" | ||
== Method-specific Parameters == | == Method-specific Parameters == |
Revision as of 16:42, 27 May 2014
URL
GET http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/
Example
Arguments
- key
- Your Steam API Key
- vanityurl
- The user's vanity URL that you would like to retrieve a steam ID for, e.g. http://steamcommunity.com/id/gabelogannewell would use "gabelogannewell"
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.
Languages: | English |