Weather
Weatherbit provides an API for current, forecast, and historical weather data, including severe weather alerts and air quality.
import requests
api_key = "YOUR_API_KEY"
latitude = 35.7721
longitude = -78.63861
url = f"https://api.weatherbit.io/v2.0/current?lat={latitude}&lon={longitude}&key={api_key}"
response = requests.get(url)
data = response.json()
print(data)Last 50 checks (10 min intervals)