Created
November 21, 2017 18:08
-
-
Save anonymous/3d5c113a23a3139a566f4824b4912464 to your computer and use it in GitHub Desktop.
Como consumir servicios web desde hojas de calculo de google
This file contains 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
function getBTCPrice() { | |
var response = UrlFetchApp.fetch("https://www.bitstamp.net/api/ticker"); | |
var last = JSON.parse(response.getContentText()).last; | |
Logger.log(last); | |
return last; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment