add get_events to the api
Merge pull request #17 from elfixit/master

add get_events to the api