mark Posted September 27, 2016 Report Posted September 27, 2016 Hi, I'm pretty new to the new API and finding any info on querying rather lacking. I have an event listener targeting any update events. I want to filter based on a username or user id and get any notes from that triggered event. I can't seem to figure out how to go about this without digging through nested dictionary after nested dictionary. Is there a clearer overview of how to do queries within subscribed events? Thanks!
Mattias Lagergren Posted September 29, 2016 Report Posted September 29, 2016 I'm afraid that the best way today is to go through the dictionaries and query manually. To get the recipients on a note you can do the following: Quote note = session.get('Note', note_id) print note['recipients'][:]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.