v.0.3.0 Library WeatherData

This commit is contained in:
tiijay
2025-11-10 12:09:38 +01:00
parent dce7117267
commit 4c8b5c952b
6 changed files with 343 additions and 0 deletions

12
restapi/weather.http Normal file
View File

@@ -0,0 +1,12 @@
@city = "grosshansdorf"
@lang = en
@forecast_days = 3
# could be 60(mins) or 24(day)
@time_period_forecast = 60
@key = 3545ce42d0ba436e8dc164532250410
### aktuelles Wetter
GET https://api.weatherapi.com/v1/current.json?key={{key}}&q={{city}}&aqi=yes&lang={{lang}}
### Vorhersage für n Tage (max 3 Tage for Free-Plan!)
GET https://api.weatherapi.com/v1/forecast.json?q={{city}}&days={{forecast_days}}&tp={{time_period_forecast}}&key={{key}}&lang=de