Skip to content
MattRyder edited this page Jun 11, 2012 · 4 revisions

__construct()

Constructs a new instance of SteamAPI

Returns:

  • Instance of SteamAPI

--- ### getUser

Constructs a new SteamUser object using the Steam ID parameter provided.

SteamAPI::getUser($id)

Parameters:

  • $id - 17-digit Steam ID (76561198030733077) or custom vanity URL (robinwalker)

Returns:

  • A new SteamUser, or NULL if the SteamID/URL given is invalid.

---

Clone this wiki locally