Are there any scripting functions available for taking event snapshots?

I would like to be able to take an event snapshot and then return the information from that event snapshot so I can use it in the script further...