Title: Get data programmatically
Last modified: April 22, 2020

---

# Get data programmatically

 *  [frenzis73](https://wordpress.org/support/users/dadahtml/)
 * (@dadahtml)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/get-data-programmatically/)
 * Hello, I found this plugin very useful.
 * I would like to know if it’s possible to obtain some data gathered by Query monitor
   programmatically. I would like to print some data (like Timings data) in a dashboard
   outside WordPress. Is there a function I can call from a script?

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [6 years, 1 month ago](https://wordpress.org/support/topic/get-data-programmatically/#post-12713862)
 * Query Monitor doesn’t store any data persistently, so connecting it to an external
   services isn’t possible yet without pulling the data straight out of the current
   browser instance.
 * There is a work-in-progress branch on GitHub where I’m working on converting 
   QM to a React app, and this exposes the whole data set as a JavaScript object
   on the page: [https://github.com/johnbillion/query-monitor/pull/483](https://github.com/johnbillion/query-monitor/pull/483)
 * If you want to give it a try, check out the branch, run `npm install && npm run
   build`, and then the `qm_data` variable on the page contains QM’s data. That’s
   about the best I can offer you at the moment!
    -  This reply was modified 6 years, 1 month ago by [John Blackbourn](https://wordpress.org/support/users/johnbillion/).

Viewing 1 replies (of 1 total)

The topic ‘Get data programmatically’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/get-data-programmatically/#post-12713862)
 * Status: not resolved