News for hackers. Stuff that matters.
Re:The Cheapest Route to 6 Continents by ramchip on Tuesday July 10, 2012 @10:59PM (#4227511)
Doesn't work on Windows ;)
Re:The Cheapest Route to 6 Continents by jerf on Tuesday July 10, 2012 @11:26PM (#4227587)
Sure it does. Install cygwin. (Or something else like that.) No serious computer user should be without a good shell. Powershell may be fine, too. There's probably some way to convince it to understand the JSON as a native object.
Re:The Cheapest Route to 6 Continents by lolcraft on Wednesday July 11, 2012 @07:15AM (#4228744)

    $wc = New-Object "System.Net.WebClient"
    $airports = @("JFK", "GEO", "TXL", "SXF", "AGA", "LGW", "LTN", "SAW", "IKA", "KUL", "PER", "BKK", "KBP")
    foreach($airport in $airports) {
        $wc.DownloadString("http://airportcode.riobard.com/airport/" + $airport + "?fmt=json")
    }