lib/SteamCondenser/Community/SteamId.php
protected function internalFetch() {
        $profile = $this->getData($this->getBaseUrl() . '?xml=1');

        if(!empty($profile->error)) {
            throw new SteamCondenserException((string) $profile->error);
        }

        if(!empty($profile->privacyMessage)) {
            throw new SteamCondenserException((string) $profile->privacyMessage);
        }

        $this->nickname      = htmlspecialchars_decode((string) $profile->steamID);
        $this->steamId64     = (string) $profile->steamID64;
        $this->limited       = (bool)(int) $profile->isLimitedAccount;
        $this->tradeBanState = (string) $profile->tradeBanState;
        $this->vacBanned     = (bool)(int) $profile->vacBanned;

        $this->imageUrl = substr((string) $profile->avatarIcon, 0, -4);
        $this->onlineState = (string) $profile->onlineState;
        $this->privacyState = (string) $profile->privacyState;
        $this->stateMessage = (string) $profile->stateMessage;
        $this->visibilityState = (int) $profile->visibilityState;

        if($this->isPublic()) {
            $this->customUrl = strtolower((string) $profile->customURL);
            $this->hoursPlayed = (float) $profile->hoursPlayed2Wk;
            $this->location = (string) $profile->location;
            $this->memberSince = (string) $profile->memberSince;
            $this->realName = htmlspecialchars_decode((string) $profile->realname);
            $this->summary = htmlspecialchars_decode((string) $profile->summary);
        }
    }
protected function internalFetch() {
        $profile = $this->getData($this->getBaseUrl() . '?xml=1');

        if(!empty($profile->error)) {
            throw new SteamCondenserException((string) $profile->error);
        }

        if(!empty($profile->privacyMessage)) {
            throw new SteamCondenserException((string) $profile->privacyMessage);
        }

        $this->nickname      = htmlspecialchars_decode((string) $profile->steamID);
        $this->steamId64     = (string) $profile->steamID64;
        $this->limited       = (bool)(int) $profile->isLimitedAccount;
        $this->tradeBanState = (string) $profile->tradeBanState;
        $this->vacBanned     = (bool)(int) $profile->vacBanned;

        $this->imageUrl = substr((string) $profile->avatarIcon, 0, -4);
        $this->onlineState = (string) $profile->onlineState;
        $this->privacyState = (string) $profile->privacyState;
        $this->stateMessage = (string) $profile->stateMessage;
        $this->visibilityState = (int) $profile->visibilityState;

        if($this->isPublic()) {
            $this->customUrl = strtolower((string) $profile->customURL);
            $this->hoursPlayed = (float) $profile->hoursPlayed2Wk;
            $this->location = (string) $profile->location;
            $this->memberSince = (string) $profile->memberSince;
            $this->realName = htmlspecialchars_decode((string) $profile->realname);
            $this->summary = htmlspecialchars_decode((string) $profile->summary);
        }
    }
Fetchs data from the Steam Community by querying the XML version of the
profile specified by the ID of this Steam ID

@throws SteamCondenserException if the Steam ID data is not available,
e.g. when it is private, or when it cannot be parsed