Skip to content

Instantly share code, notes, and snippets.

@michaeldavie
michaeldavie / gist:42a63247f11ca43c98d4
Created November 29, 2015 04:44 — forked from Cybling1/gist:1eacf4eaa771cc35d711
Script to fetch Nest data and outdoor temperature, wind speed and wind direction data and log to Google Sheets
function performLogin(email, password) {
var payload = {
"username" : email,
"password" : password
};
var options = {
"method" : "post",
"payload" : payload
};
@michaeldavie
michaeldavie / gist:200035ef872d5ce79752
Created November 29, 2015 04:38 — forked from beezly/gist:9b2de3749d687fdbff3f
Log Nest temperatures into a Google Spreadsheet. Update the username and password values and create a resource trigger to call "getData" at regular intervals.
function performLogin(email, password) {
var payload = {
"username" : email,
"password" : password
};
var options = {
"method" : "post",
"payload" : payload
};