I need to get the cheapest train ticket price from [url removed, login to view]
Input should be like this:
$from = "WAS";
$to = "MET";
$departs = strtotime("+10 days");
$time = "Anytime"; // or morning | afternoon | evening | midnight
//adults is always = 1
$cheapestTicket = getData ($from, $to, $departs, $time);
This function uses curl to grab get the cheapest ticket price and trip length and departure time:
$cheapestTicket['price'] = '95';
$cheapestTicket['length'] = '2 hr, 52 min';
$cheapestTicket['departs'] = '6:35 AM';
It should take about 2 hours to make, so I will pay up to $35.
16 freelancers estão ofertando em média $50 para este trabalho
Hello Sir, We have studied the requirements and we can work on this project very well. Please reply me if you are interested. If you reply me, you will get a clearer idea of our skill sets.