forked from syntaxerrors/Steam
-
Notifications
You must be signed in to change notification settings - Fork 0
Endpoints Steam User
TeemoCell edited this page Jul 20, 2026
·
2 revisions
$user = $steam->user($steamId);The factory accepts one Steam ID or an array of IDs.
| Method | Description |
|---|---|
ResolveVanityURL($displayName = null, int $urlType = 1) |
Resolves profile, group or game-group vanity URLs. |
GetPlayerSummaries(?string $steamId = null) |
Returns one or multiple player summaries. |
GetPlayerBans($steamId = null) |
Returns ban information. |
GetFriendList($relationship = 'all', $summaries = true) |
Returns friend IDs or enriched player summaries. |
$players = $steam->user([
76561197960287930,
76561197968575517,
])->GetPlayerSummaries();$result = $steam
->user(76561197960287930)
->ResolveVanityURL('example-name');urlType values:
-
1: individual profile; -
2: group; -
3: official game group.
Friend lists depend on profile visibility. See Profile privacy.
Documentation for teemocell/steam-web-api · Licensed under the MIT License