@@ -0,0 +1,1058 @@
+from flightaware.client import Client%0Afrom pprint import pprint%0A%0A# App parameters%0Aairport = 'KSFO'%0A%0A# App configuration%0Aimport ConfigParser%0Aconfig = ConfigParser.RawConfigParser()%0Aconfig.read(%22developer.cfg%22)%0Ausername = config.get(%22test settings%22, %22username%22)%0Aapi_key = config.get(%22test settings%22, %22api_key%22)%0A%0A# Create the FlightAware.com API client ...%0Aclient = Client(username=username, api_key=api_key)%0A%0A# Get the METAR information for San Francisco ...%0Aresults = client.metar(airport)%0Aprint %22%5Cn*** METAR information for:  %22, airport%0Apprint(results)%0A%0A# Get the extended METAR information for San Francisco ...%0Aresults = client.metar_ex(airport)%0Aprint %22%5Cn*** Extended METAR information for:  %22, airport%0Apprint(results)%0A%0A# Get the TAF (Terminal Aerodrome Forecast) for San Francisco ...%0Aresults = client.taf(airport)%0Aprint %22%5Cn*** TAF information for:  %22, airport%0Apprint(results)%0A%0A# Get the extended TAF (Terminal Aerodrome Forecast) for San Francisco ...%0Aresults = client.ntaf(airport)%0Aprint %22%5Cn*** Extended TAF information for:  %22, airport%0Apprint(results)%0A

Add a weather example which shows the METAR and TAF APIs.