For a plugin I’m building I’m trying to search Obsidian for text (In this case todo’s in the form of - [ ] Todo and - [x] Done Todo). The plan is to sync it up to my ToDo app (Things3 in this case).
I work a lot with Restfull API’s but I can’t yet make heads or tail of the Obsidian API. Can someone point me in the right direction? I could easily do this with a grep + regex but I want to bundle it in to a plugin because I see a lot of people asking for this functionality.
For finding tasks in Obsidian you’ll want to parse the files manually. There are a bunch of existing plugins that are currently creating a task cache: slated, dataview, Checklist. You can take a look at their code to see how they’re accomplishing it.