Created
August 4, 2015 18:52
-
-
Save adasq/6ecf1c7f091f18b5e7ce to your computer and use it in GitHub Desktop.
google app script trigger.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sheet = SpreadsheetApp.getActive(); | |
ScriptApp.newTrigger("myFunction") | |
.forSpreadsheet(sheet) | |
.onEdit() | |
.create(); | |
var response = UrlFetchApp.fetch("http://jsonplaceholder.typicode.com/posts/"); | |
Logger.log(response); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment