Get referents of an event?

Hi!

I’m trying to get all the people/families that are related to an event in Python. I have an Event object and I would like to find all witnesses of that event. Is there a way other than iterating every person in the database to figure out if they reference the event?

Use the find_backlink_handles database method.

See the Finding references page in our wiki for examples.

There is also a section in our online API reference describing the find_backlink_handles method.

2 Likes

Thanks, that’s exactly what I was looking for!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.