v.0.10.0 redesign prj structure, multi dev containers
This commit is contained in:
57
pico-client/restapi/mock/weather.json
Normal file
57
pico-client/restapi/mock/weather.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"location": {
|
||||
"name": "Columbus",
|
||||
"region": "Ohio",
|
||||
"country": "United States of America",
|
||||
"lat": 39.9611,
|
||||
"lon": -82.9989,
|
||||
"tz_id": "America/New_York",
|
||||
"localtime_epoch": 1762951576,
|
||||
"localtime": "2025-11-12 07:46"
|
||||
},
|
||||
"current": {
|
||||
"last_updated_epoch": 1762951500,
|
||||
"last_updated": "2025-11-12 07:45",
|
||||
"temp_c": 2.8,
|
||||
"temp_f": 37.0,
|
||||
"is_day": 1,
|
||||
"condition": {
|
||||
"text": "Partly cloudy",
|
||||
"icon": "//cdn.weatherapi.com/weather/64x64/day/116.png",
|
||||
"code": 1003
|
||||
},
|
||||
"wind_mph": 11.6,
|
||||
"wind_kph": 18.7,
|
||||
"wind_degree": 235,
|
||||
"wind_dir": "SW",
|
||||
"pressure_mb": 1012.0,
|
||||
"pressure_in": 29.88,
|
||||
"precip_mm": 0.0,
|
||||
"precip_in": 0.0,
|
||||
"humidity": 67,
|
||||
"cloud": 75,
|
||||
"feelslike_c": -1.5,
|
||||
"feelslike_f": 29.2,
|
||||
"windchill_c": -2.1,
|
||||
"windchill_f": 28.2,
|
||||
"heatindex_c": 0.4,
|
||||
"heatindex_f": 32.6,
|
||||
"dewpoint_c": -2.2,
|
||||
"dewpoint_f": 28.0,
|
||||
"vis_km": 16.0,
|
||||
"vis_miles": 9.0,
|
||||
"uv": 0.0,
|
||||
"gust_mph": 18.3,
|
||||
"gust_kph": 29.5,
|
||||
"air_quality": {
|
||||
"co": 216.85,
|
||||
"no2": 8.35,
|
||||
"o3": 54.0,
|
||||
"so2": 2.75,
|
||||
"pm2_5": 9.45,
|
||||
"pm10": 9.55,
|
||||
"us-epa-index": 1,
|
||||
"gb-defra-index": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
12
pico-client/restapi/weather.http
Normal file
12
pico-client/restapi/weather.http
Normal file
@@ -0,0 +1,12 @@
|
||||
@city = "columbus"
|
||||
@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
|
||||
Reference in New Issue
Block a user