

function getResult(callback, parameters) {

var num_line = parameters.num_line;

require('request')('http://api-ratp.pierre-grimaud.fr/v2/traffic/metros/'+num_line, function (error, response, body) {
    if (!error && response.statusCode == 200) {
      var info = JSON.parse(body);
      callback(info.response.message); 
    }else{
        callback({status :"erro"});
    }
  });
  
};

exports.getResult = getResult;

@@ -39,16 +39,39 @@
 ers) %7B%0A%0A
+//Put your action here%0A
 var num_

Update RATP_App.js