-
-
Save danielrvt/b7bd201e6f527ad7278edd142ce582cd 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