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