public function get($object)
	{
		if ($this->oauth != null)
		{
			if ($this->oauth->isAuthenticated())
			{
				$response = $this->oauth->query($this->fetchUrl($object));

				return json_decode($response->body);
			}
			else
			{
				return false;
			}
		}

		// Send the request.
		return $this->sendRequest($object);
	}
public function get($object)
	{
		if ($this->oauth != null)
		{
			if ($this->oauth->isAuthenticated())
			{
				$response = $this->oauth->query($this->fetchUrl($object));

				return json_decode($response->body);
			}
			else
			{
				return false;
			}
		}

		// Send the request.
		return $this->sendRequest($object);
	}
public function get ( $ object ) { if ( $ this -> oauth != null ) { if ( $ this -> oauth -> isAuthenticated ( ) ) { $ response = $ this -> oauth -> query ( $ this -> fetchUrl ( $ object ) ) ; return json_decode ( $ response -> body ) ; } else { return false ; } } // Send the request. return $ this -> sendRequest ( $ object ) ; }
Method to get an object.

@param   string  $object  The object id.

@return  mixed   The decoded JSON response or false if the client is not authenticated.

@since   1.0
Method to get an object .