Last active
January 6, 2022 22:34
-
-
Save tylerdave/409ffa08e1d47b1a1e23 to your computer and use it in GitHub Desktop.
Nest API Example
Actually, I figured out why the authorization header wasn't working. Making requests to developer-api.nest.com ends up doing a redirect to a firebase hostname, and the requests library strips authorization headers when doing redirects. https://github.com/kennethreitz/requests/issues/2949 talks about this more, specifically about how it happens working with the Nest API.
Hi, if i want to set temperature?
regards
What programming language do I have to use in order to do this? I'm new to Nest development.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was really helpful, thanks!
I was trying to do this following https://developers.nest.com/documentation/cloud/rest-quick-guide which says to use the
Authorization
header with youraccess_token
, and that was consistently failing with 401 Unauthorized. Using anauth
param instead seems to work, but I haven't seen documentation for it (that doesn't say much though, the documentation is pretty scattered).