API CSV/json export

I am looking to see how I can pragmatically issue a call and get a CSV/json file back from the dashboard. Ideally via the API. As much of the data I have built in the dashboards needs to be passed on to other applications (mostly stats numbers)

Any hints on how to do this would be helpful


There are no specific api that you can call go get all metric data from a dashboard. This is similar question as this Dashboard API - Returns query results as well?