public function getEvent($calendarID, $eventID, $options = array())
	{
		if ($this->isAuthenticated())
		{
			$url = 'https://www.googleapis.com/calendar/v3/users/me/calendarList/';
			$url .= urlencode($calendarID) . '/events/' . urlencode($eventID) . '?' . http_build_query($options);
			$jdata = $this->query($url);

			if ($data = json_decode($jdata->body, true))
			{
				return $data;
			}
			else
			{
				throw new UnexpectedValueException("Unexpected data received from Google: `{$jdata->body}`.");
			}
		}
		else
		{
			return false;
		}
	}
public function getEvent($calendarID, $eventID, $options = array())
	{
		if ($this->isAuthenticated())
		{
			$url = 'https://www.googleapis.com/calendar/v3/users/me/calendarList/';
			$url .= urlencode($calendarID) . '/events/' . urlencode($eventID) . '?' . http_build_query($options);
			$jdata = $this->query($url);

			if ($data = json_decode($jdata->body, true))
			{
				return $data;
			}
			else
			{
				throw new UnexpectedValueException("Unexpected data received from Google: `{$jdata->body}`.");
			}
		}
		else
		{
			return false;
		}
	}
public function getEvent ( $ calendarID , $ eventID , $ options = array ( ) ) { if ( $ this -> isAuthenticated ( ) ) { $ url = 'https://www.googleapis.com/calendar/v3/users/me/calendarList/' ; $ url .= urlencode ( $ calendarID ) . '/events/' . urlencode ( $ eventID ) . '?' . http_build_query ( $ options ) ; $ jdata = $ this -> query ( $ url ) ; if ( $ data = json_decode ( $ jdata -> body , true ) ) { return $ data ; } else { throw new UnexpectedValueException ( "Unexpected data received from Google: `{$jdata->body}`." ) ; } } else { return false ; } }
Method to get an event from a Google Calendar

@param   string  $calendarID  ID of calendar
@param   string  $eventID     ID of event to get
@param   array   $options     Options to send to Google

@return  mixed  Data from Google.

@since   1.0
@throws  UnexpectedValueException
Method to get an event from a Google Calendar