Search code examples
javaandroidjsonnest-api

How to retrieve Json object from the Nest API using android


Is there a way I could retrieve the the Json Object that has the complete Nest Device List and their attributes?

I'm using firebase as suggested on the API documentation and I can listen to temperature changes made on the thermostat. The reason I need the Json is to set temperature through an android application I'm building.

This is the URL I'm using "https://developer-api.nest.com/"


Solution

  • Since you are developing for Android, the easiest way to get access is by using the Firebase Client.

    Once you have that setup, read the Nest documentation about working with the thermostat data model.