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
{
    "conditions": "Fair",
    "date": "11 Aug 11:53 am CDT",
    "feels": "103",
    "humidity": "46",
    "icon": "🌤️",
    "location": "Arlington, TX",
    "nws_url": "https://forecast.weather.gov/MapClick.php?lat=32.6255&lon=-97.0784",
    "period_name0": "This Afternoon",
    "period_name1": "Tonight",
    "period_name2": "Tuesday",
    "period_text0": "Sunny and hot, with a high near 100. Heat index values as high as 105. ",
    "period_text1": "Clear, with a low around 80. ",
    "period_text2": "Sunny and hot, with a high near 101. Heat index values as high as 109. ",
    "temp": "95",
    "time": "day",
    "wind_degree": "170",
    "wind_direction": "S",
    "wind_speed": "12"
}


$ http https://howhotisit.in/66047/json
{
    "conditions": "A Few Clouds",
    "date": "11 Aug 11:52 am CDT",
    "feels": "100",
    "humidity": "57",
    "icon": "🌤️",
    "location": "Lawrence, KS",
    "nws_url": "https://forecast.weather.gov/MapClick.php?lat=38.8931&lon=-95.3459",
    "period_name0": "This Afternoon",
    "period_name1": "Tonight",
    "period_name2": "Tuesday",
    "period_text0": "Sunny, with a high near 95. Heat index values as high as 107. ",
    "period_text1": "A 20 percent chance of showers and thunderstorms before 4am.",
    "period_text2": "Partly sunny, then gradually becoming sunny, with a high near 87. ",
    "temp": "91",
    "time": "day",
    "wind_degree": "230",
    "wind_direction": "SW",
    "wind_speed": "6"
}
                            

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.