curl 'https://api.weather.gov/points/34.0522,-118.2437/radio' \
-H 'User-Agent: RobustAPI-Example'
import requests
resp = requests.get(
"https://api.weather.gov/points/34.0522,-118.2437/radio",
headers={
'User-Agent': 'RobustAPI-Example',
},
)
data = resp.json()
import zingu_apis
api = zingu_apis.api("weather")
result = api.fetch("points/{latitude},{longitude}/radio")
for item in result:
print(item)
const resp = await fetch("https://api.weather.gov/points/34.0522,-118.2437/radio", {
headers: {
"User-Agent": "RobustAPI-Example",
},
});
const data = await resp.json();