Query API - export to JSON
Posted: Mon Oct 14, 2019 8:50 am
Hi,
I presume this has been asked and answered already, but i am struggling to find a good explanation on my own.
I want to query an API of a web interface, return some results in JSON format.
From there the data could be parsed into a service which could be monitored.
Would i need to create a plugin, then a command and then a service to achieve this?
Essentially all i want to do is a curl to a web page and pipe into JSON.
I presume this has been asked and answered already, but i am struggling to find a good explanation on my own.
I want to query an API of a web interface, return some results in JSON format.
From there the data could be parsed into a service which could be monitored.
Would i need to create a plugin, then a command and then a service to achieve this?
Essentially all i want to do is a curl to a web page and pipe into JSON.