Working example python

codeformatting

#1

Hi everyone,
i tryng to develop an simple tool that read and write temp to my nest thermostat.
I have problem with authorization code and step to follow, actually i find my authcode but when i try to apply …no way it dont work…

can anyone send here an working example?

regards


#2

Have you looked into the sample code? It’s not python specific, but should give you an understanding of how the auth flow works. I would recommend the Nest streaming dashboard as a place to start.

Otherwise, here is a python example of a standard Oauth2 flow that might help.