add get_events to the api