So what you can do is first:
- Create an Adobe I/O integration as it will be needed to use Adobe Analytics API
- Check Adobe Analytics API 2.0, don't use 1.4. Also if you want to reproduce same data as from the Analysis Workspace report, in Analysis Workspace go to Help > Enable Debugger and you will see a little bug next to the table you built. Click on it and it will provide you the API structure call. So create a table with hours or minute granularity and check the API call
- Now that you have everything ready you just need to make the API call
Now what I guess you want is real-time data and Adobe has a functionality but it is way too limited. There is also the livestream API that is only in 1.4 as far as I can see. For your use I won't bother with it.
Also please bear in mind that Adobe Analytics has a processing time of in average from 30 minutes to 90 minutes. This means that some metrics will not be updated straight away like visits for example.
So I would maybe not query every 5 minutes depending on your metrics and dimensions.