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

**URL:** <https://community.particle.io/t/how-to-make-to-take-data-from-https-console-particle-io-events-to-my-website/33734>\
**Category:** Cloud\
**Created:** [June 14, 2017, 3:08am UTC](https://community.particle.io/t/how-to-make-to-take-data-from-https-console-particle-io-events-to-my-website/33734 "2017-06-14T03:08:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [June 14, 2017, 5:16am UTC](https://community.particle.io/t/how-to-make-to-take-data-from-https-console-particle-io-events-to-my-website/33734/2 "2017-06-14T05:16:59Z")

</div>

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](https://docs.particle.io/reference/javascript/) provided by Particle.

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

For some background on this have a read here

> [@Tutorial: Getting Started with Spark.publish()](https://community.particle.io/t/tutorial-getting-started-with-spark-publish/3422):
>
> Here’s a tutorial to get you started using Spark.publish(). Let’s imagine you want to monitor your core’s uptime, that is, how many hours, minutes, and seconds since the last time the core was reset or powered-up and view it on a web page that you can leave open all the time. You can use the millis() function to measure time and for this example, you can ignore the fact that it can wrap-around back to zero after many days. So you need two things, code for your Spark core and code for a web page…

---

_[View the full topic](https://community.particle.io/t/how-to-make-to-take-data-from-https-console-particle-io-events-to-my-website/33734)._
