Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 160 Bytes
import airportstatus, sys, json
if len(sys.argv) < 2:
print "Invalid usage"
exit(1)
print json.dumps(airportstatus.get_status(sys.argv[1]), indent=2)