Spaces:
Running
Running
metadata
title: Weatherhack API
emoji: π€οΈ
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
Weatherhack API & Dashboard
A zero-cost, Weatherstack-compatible API service with a beautiful testing dashboard.
π Getting Started
This Space runs both:
- FastAPI Service: On port 8000 (accessible via
/current,/forecast, etc.) - Streamlit Dashboard: On port 7860 (the UI you see here)
π Configuration
Set the following Secret in your Space settings:
WEATHERSTACK_ACCESS_KEY:b55a6ab9aec1ab156c0b46f0a9ef93dd(or your preferred key)
π‘ API Endpoints
/current: Real-time weather + Air Quality/forecast: Up to 14 days forecast/historical: Weather archive/autocomplete: Location suggestions
Powered by Open-Meteo and Nominatim.