mProjectsCode / obsidian-media-db-plugin

A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
GNU General Public License v3.0
250 stars 30 forks source link

Add APIs for parsed data output #93

Open AB1908 opened 1 year ago

AB1908 commented 1 year ago

I'd like to have APIs so that I can take advantage of the wrappers you've built and use them with templater. The other options to get this to work with would be to call Templater's APIs from within this plugin which seems like a poor option and another would be to try to get them to use the same templating language which seems similarly painful. Open to other ideas.

mProjectsCode commented 1 year ago

You should be able to access apiManager.query(searchString, apiNames) from within templater by getting an instance of the plugin.

AB1908 commented 1 year ago

I'd forgotten about this entirely. I'll try that out when I find the time and report back.