node.jsnest-api

How integrate Nest API with node js for listen Nest event on real time


According with Nest API Client Libraries (explicitly Javascript for me). https://developers.nest.com/documentation/cloud/firebase-client-libraries

We can listen on Client/Side all events emitted by Nest.
They have an EXCELLENT sample code in his documentation, I downloaded it and worked perfectly.

Is possible implement the same functionality in NodeJs?

I read everything on Nest REST GUIDE https://developers.nest.com/documentation/cloud/rest-guide and I couldn't find calls that may help me.

It is posible?


Solution

  • Yes. This sample code should help you out. It uses Rest Streaming in node to display events from all three products.

    https://github.com/nestlabs/rest-streaming