Created
July 18, 2019 20:43
-
-
Save uneasyguy/cdcc27de5557c8e065bc97820449a103 to your computer and use it in GitHub Desktop.
Apps Script function from https://youtu.be/i2qnM_S1vh4
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
function myFunction() { | |
var symbols = ['STRATBTC','OMGBTC','BTCUSDT']; | |
var something_else = 'hello world'; | |
var query_string = symbols.toString()+'&'+something_else; | |
var url = 'http://****public ip goes here****:5000/symbols/'+query_string; | |
var request = UrlFetchApp.fetch(url); | |
var data = JSON.parse(request.getContentText()); | |
Logger.log(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment