curl 'https://api.weather.gov/stations/KJFK/tafs/2026-03-14/1200' \
-H 'User-Agent: robustapi-lore/1.0'
import requests
resp = requests.get(
"https://api.weather.gov/stations/KJFK/tafs/2026-03-14/1200",
headers={
'User-Agent': 'robustapi-lore/1.0',
},
)
data = resp.json()
import zingu_apis
api = zingu_apis.api("weather")
result = api.fetch("stations/{stationId}/tafs/{date}/{time}")
for item in result:
print(item)
const resp = await fetch("https://api.weather.gov/stations/KJFK/tafs/2026-03-14/1200", {
headers: {
"User-Agent": "robustapi-lore/1.0",
},
});
const data = await resp.json();