src/HabboParser.php
public function parseHabbo($identifier, $useUniqueId = false)
    {
        if ($useUniqueId) {
            $url = '/api/public/users/' . $identifier;
        } else {
            $url = '/api/public/users?name=' . $identifier;
        }

        list($data) = $this->_callUrl($this->api_base . $url, true);

        $habbo = new Habbo();
        $habbo->parse($data);
        return $habbo;
    }
public function parseHabbo($identifier, $useUniqueId = false)
    {
        if ($useUniqueId) {
            $url = '/api/public/users/' . $identifier;
        } else {
            $url = '/api/public/users?name=' . $identifier;
        }

        list($data) = $this->_callUrl($this->api_base . $url, true);

        $habbo = new Habbo();
        $habbo->parse($data);
        return $habbo;
    }
public function parseHabbo ( $ identifier , $ useUniqueId = false ) { if ( $ useUniqueId ) { $ url = '/api/public/users/' . $ identifier ; } else { $ url = '/api/public/users?name=' . $ identifier ; } list ( $ data ) = $ this -> _callUrl ( $ this -> api_base . $ url , true ) ; $ habbo = new Habbo ( ) ; $ habbo -> parse ( $ data ) ; return $ habbo ; }
Parses the Habbo user endpoint

@param $identifier
@param bool $useUniqueId
@return Habbo
@throws Exception
Parses the Habbo user endpoint