Tutorial: A Python script to list Cores and get SSE notifications

Hello folks,

Here is a Python script to (a) list all registered cores and (b) get Server Sent Events (SSE) using Spark.publish(). (b) is particular is useful if you want your app to get notified of Core events without using an external service like IFTTT.

Nothing fancy, but hopefully someone will find it helpful.

Regards

7 Likes

Hi folks,

I made a pull request to @electronut’s Github rep to make the output a bit prettier when listing devices. Hopefully you’ll find it useful!