Added getevents function
identify.py done