probe-gate
Demonstrates fetching all active Graphical AIRMETs showing weather hazards across the US.
curl 'https://aviationweather.gov/api/data/gairmet?format=json'
import requests
resp = requests.get(
"https://aviationweather.gov/api/data/gairmet",
params={
'format': 'json',
},
)
data = resp.json()
import zingu_apis
api = zingu_apis.api("aviation-weather-data")
result = api.fetch("gairmet", format="json")
for item in result:
print(item)
const resp = await fetch("https://aviationweather.gov/api/data/gairmet?format=json");
const data = await resp.json();