Hey @Kevin, thanks for reaching out. I’m Jeff, one of the engineers behind the Dashboard. There is, in fact, an server-sent events (SSE) endpoint that you can hit in your own code, or on the command line, to give you the exact same data as the dashboard uses.
To find this endpoint visit the logs page of your dashboard and look for the code icon next to the pause button:
Clicking this button will reveal the exact endpoint that your dashboard uses for its data, including your access token:
The base of the endpoint will alwasy be
api.particle.io/v1/devices/events. The code for the dashboard is unfortunately not available on GitHub, as it is a private repo. Does this help @Kevin?