Skip to content

Instantly share code, notes, and snippets.

@tylerdave
Last active January 6, 2022 22:34
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylerdave/409ffa08e1d47b1a1e23 to your computer and use it in GitHub Desktop.
Save tylerdave/409ffa08e1d47b1a1e23 to your computer and use it in GitHub Desktop.
Nest API Example
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@technicalpickles
Copy link

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.

@diegodeodati
Copy link

Hi, if i want to set temperature?

regards

@pratapkrish
Copy link

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