These docs are for an old release. Info on upgrading to v5
edit doc

Calendar::getEventById

Returns a single event with the matching id.

calendar.getEventById( id )

id must be a string or a number

Will return an Event Object if found, and null otherwise.