{"definitions":{},"externalDocs":{"description":"Full documentation - The Daily Stomp","url":"https://www.stompingbear.com/weather-trac-api/"},"host":"api.weather-trac.com","info":{"description":"Weather data API backed by Visual Crossing.","title":"Weather Trac API","version":"2.0.0"},"paths":{"/api/v1/weather/alerts":{"get":{"parameters":[{"example":"Minneapolis,MN","in":"query","name":"location","required":true,"type":"string"}],"responses":{"200":{"description":"Alert list","schema":{"properties":{"alerts":{"type":"array"},"has_alerts":{"type":"boolean"}},"type":"object"}}},"security":[{"Bearer":[]}],"summary":"Weather alerts for a location.","tags":["Weather"]}},"/api/v1/weather/current":{"get":{"parameters":[{"example":"Delano,MN","in":"query","name":"location","required":true,"type":"string"}],"responses":{"200":{"description":"CurrentWeather payload"},"400":{"description":"Missing location"},"502":{"description":"VC API error"}},"security":[{"Bearer":[]}],"summary":"Current conditions \u2014 raw WeatherPayload JSON.","tags":["Weather"]}},"/api/v1/weather/current/formatted":{"get":{"parameters":[{"example":"Delano,MN","in":"query","name":"location","required":true,"type":"string"}],"responses":{"200":{"description":"CurrentWeather payload with formatted field","schema":{"properties":{"data":{"type":"object"},"formatted":{"example":"Delano, MN: \ud83d\udd58 21:17 \u2601\ufe0f \ud83c\udf21 27.9\u00b0F \ud83c\udf2c \u2199 7.0 mph","type":"string"}},"type":"object"}}},"security":[{"Bearer":[]}],"summary":"Current conditions \u2014 raw payload + formatted string.","tags":["Weather"]}},"/api/v1/weather/forecast":{"get":{"parameters":[{"example":"Delano,MN","in":"query","name":"location","required":true,"type":"string"},{"example":7,"in":"query","name":"duration","required":false,"type":"integer"}],"responses":{"200":{"description":"ForecastWeather payload"}},"security":[{"Bearer":[]}],"summary":"Daily forecast \u2014 raw WeatherPayload JSON.","tags":["Weather"]}},"/api/v1/weather/forecast/formatted":{"get":{"parameters":[{"example":"Delano,MN","in":"query","name":"location","required":true,"type":"string"},{"example":7,"in":"query","name":"duration","required":false,"type":"integer"},{"example":1,"in":"query","name":"start","required":false,"type":"integer"},{"example":false,"in":"query","name":"multiline","required":false,"type":"boolean"}],"responses":{"200":{"description":"ForecastWeather with formatted lines","schema":{"properties":{"data":{"type":"object"},"formatted":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"security":[{"Bearer":[]}],"summary":"Daily forecast \u2014 raw payload + formatted lines.","tags":["Weather"]}},"/api/v1/weather/hourly":{"get":{"parameters":[{"example":"Delano,MN","in":"query","name":"location","required":true,"type":"string"},{"example":"today","in":"query","name":"date","required":false,"type":"string"}],"responses":{"200":{"description":"HourlyWeather payload"}},"security":[{"Bearer":[]}],"summary":"Hourly forecast \u2014 raw WeatherPayload JSON.","tags":["Weather"]}},"/api/v1/weather/hourly/formatted":{"get":{"parameters":[{"example":"Champlin,MN","in":"query","name":"location","required":true,"type":"string"},{"in":"query","name":"date","required":false,"type":"string"},{"example":0,"in":"query","name":"start","required":false,"type":"integer"},{"example":24,"in":"query","name":"duration","required":false,"type":"integer"}],"responses":{"200":{"description":"HourlyWeather with formatted lines","schema":{"properties":{"data":{"type":"object"},"formatted":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"security":[{"Bearer":[]}],"summary":"Hourly forecast \u2014 raw payload + formatted lines.","tags":["Weather"]}},"/api/v1/weather/telegram":{"get":{"parameters":[{"collectionFormat":"multi","example":["Delano,MN","Sandpoint,ID"],"in":"query","items":{"type":"string"},"name":"location","required":true,"type":"array"},{"description":"Include HTML tags for Telegram HTML parse mode","example":false,"in":"query","name":"html","required":false,"type":"boolean"}],"responses":{"200":{"description":"Telegram-formatted weather message","schema":{"properties":{"message":{"type":"string"}},"type":"object"}},"400":{"description":"Missing or invalid location"},"502":{"description":"VC API error"}},"security":[{"Bearer":[]}],"summary":"Multi-city daily summary formatted as a Telegram message.","tags":["Weather"]}}},"schemes":["https"],"security":[{"Bearer":[]}],"securityDefinitions":{"Bearer":{"description":"JWT Bearer token from Authentik. Format: Bearer <token>\nSetup guide: https://www.stompingbear.com/auth-token-setup/","in":"header","name":"Authorization","type":"apiKey"}},"swagger":"2.0"}
