How to make to take data from "https://console.particle.io/events" to my website

Hello everyone, I am doing a project use electron 2G kit, my project purpose measure temperature by DHT11, then send particle cloud and i want to take data this temperature display my website. But I don’t know how to make to take data from “https://console.particle.io/events” to my website. Thankyou very much.

You don’t need to take the data from the console, but you can subscribe to the server sent events directly.
You may want to look at the JS SDK provided by Particle.

Particularly this section
https://docs.particle.io/reference/javascript/#get-event-stream

For some background on this have a read here

2 Likes