Export Restrict View animation data from Actions

I am wondering if there is a way to export the restrict view keyframe data for actions? What I’m looking to get out of the data for each affected object is the “ID name”, keyframe number, and the associated Boolean.

I’ve done a little bit of scripting in blender to do basic things (translation, selections, reading xml data, etc.), but I am expecting this might require a bit more knowledge of blender’s data structure? I’d like to try this on my own, so I can learn more about scripting with blender. However, I am just looking to see if this is even possible and for a nudge in the right direction.

Thanks!