curl 'https://api.weather.gov/aviation/sigmets/KZOA/2024-01-15' \
-H 'User-Agent: robustapi-example'
import requests
resp = requests.get(
"https://api.weather.gov/aviation/sigmets/KZOA/2024-01-15",
headers={
'User-Agent': 'robustapi-example',
},
)
data = resp.json()
import zingu_apis
api = zingu_apis.api("weather")
result = api.fetch("aviation/sigmets/{atsu}/{date}")
for item in result:
print(item)
const resp = await fetch("https://api.weather.gov/aviation/sigmets/KZOA/2024-01-15", {
headers: {
"User-Agent": "robustapi-example",
},
});
const data = await resp.json();