ui.toolbar.show(false);
ui.backgroundColor(100,100,100);
network.httpGet(myURL, function(status, response) {
var ourBike = JSON.parse(response); // Parse string into JSON format (if your data allows to)
var ttt = "Address - Slots - Bikes \n\n"; // Lets find how many bikes we can find in our favorite bicing stations in Barcelona
for(var ii=0; ii<ourBike.stations.length; ii++)
{
var idd = parseInt(ourBike.stations[ii].id);
if(idd==342 || idd==143 || idd==42)
{
ttt += ourBike.stations[ii].streetName +" - "+ ourBike.stations[ii].slots +" - "+ ourBike.stations[ii].bikes;
ttt += "\n\n";
}
}
var t = ui.addText(20, 30, 600, 600); // Set the text to display.
t.setText(ttt);
t.textSize(25);
});