Web Browser
https://howhotisit.in for current location.
or
https://howhotisit.in/66047 for specific location.
Command-line
# Current Location
$ curl https://howhotisit.in
Arlington, TX: 🌤️ 103 °F
# Specific zip code
$ curl https://howhotisit.in/66047
Lawrence, KS: 🌤️ 91 °F
API / JSON
$ http https://howhotisit.in/json
{
"location": "Arlington, TX",
"nws_url": "https://forecast.weather.gov/MapClick.php?lat=32.6255&lon=-97.0784",
"temp": "95",
"humidity": "46",
"conditions": "Fair",
"wind_speed": "12",
"wind_degree": "170",
"wind_direction": "S",
"time": "day",
"date": "11 Aug 11:53 am CDT",
"icon": "🌤️",
"feels": "103",
"period": [
{
"name": "This Afternoon",
"temp_label": "High",
"temperature": "95",
"weather": "Sunny and Hot",
"icon_link": "https://forecast.weather.gov/newimages/medium/hot.png",
"text": "Sunny and hot, with a high near 95. Heat index values as high as 105. "
},
... (12 periods total)
],
"5day": [
{
"fullday": "Tuesday",
"day": "Tue",
"icon": "☀️",
"high": "101",
"low": "80",
"text": "Sunny and hot, with a high near 101. Heat index values as high as 109. "
},
... (5 days total)
]
}
Bitbar plugin example
#!/usr/local/bin/python3
import requests
response = requests.get("https://howhotisit.in/json")
data = response.json()
try:
print(f"{data['icon']} {data['temp']} °F")
print("---")
print(f"How hot in {data['location']} | href='https://howhotisit.in'")
print(f"National Weather Service | href={data['nws_url']}")
except:
print("? °F")
print("---")
print("How hot is it in... | href='https://howhotisit.in'")
Acknowledgments
Inspired by
ifconfig.co and
wttr.in.
Weather data provided by
NWS.
About
Created by
@palmerville by abusing AWS API Gateway.