I just created a project for Node.js module which can extract statistics outside of the client. You can find the source for it at: https://gitgud.io/shiningstats/api-js