Steam

Vanity

Rozwiąż vanity URL Steam na Steam ID. Konwertuj niestandardowe URL-e profilu na identyfikatory numeryczne.

Endpoint

Ten endpoint rozwiązuje nazwę vanity URL Steam na Steam ID. Vanity URL to niestandardowe URL-e profilu, które użytkownicy mogą ustawić (np. steamcommunity.com/id/pepzwee).

GET   /v2/steam/users/vanity/{vanityUrl}

Wymagane parametry

vanityUrl
string
Nazwa vanity URL do rozwiązania (np. pepzwee z steamcommunity.com/id/pepzwee).

Uwierzytelnianie

Dołącz swój klucz API jako header x-api-key.

x-api-key: YourSecretAPIKey

Pola odpowiedzi

PoleTypOpis
steamIDstringSteam ID odpowiadający vanity URL

Przykład odpowiedzi

Przykładowy output dla tego endpointu.

response.json
{
  "success": true,
  "response": {
    "steamID": "76561198038526790"
  }
}