Looking for advice on creating a plugin

plugins

(Kirill Vasiliskov) #1

I need to create a plugin that will do a certain database query upon request and return data as JSON or push it to external server for further processing. Was trying to find some similar docs but most of plugin tutorials are related to “authenticate with that” or “make this look better”. Does somebody know a good docs on creating such kind of plugin or advice how to do this?

Thank you in advance.


(Kane York) #2

Well, my first question is “What’s the query?”

This can be done with an engine, I think.


(Kirill Vasiliskov) #3

Just a SELECT query that gets all the emails of users who replied or liked any post in a particular topic. So I need to get a topic ID, run a query with it and return emails list. Do you need the query itself?