Skip to content

Instantly share code, notes, and snippets.

Created November 21, 2017 18:08
Show Gist options
  • Save anonymous/3d5c113a23a3139a566f4824b4912464 to your computer and use it in GitHub Desktop.
Save anonymous/3d5c113a23a3139a566f4824b4912464 to your computer and use it in GitHub Desktop.
Como consumir servicios web desde hojas de calculo de google
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