GET api/askopoc/weather?from={from}&to={to}&res={res}
GET weather info from DarkSky for given period, including temperature, icon suggestion and cloudiness in percent
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| from |
start of period |
string |
Required |
| to |
end of period |
string |
Required |
| res | AskoTsResolution |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AskoWeatherInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| HourStart | date |
None. |
|
| CloudCoverPercent | integer |
None. |
|
| TempCelcius | decimal number |
None. |
|
| IconName | AskoWeatherIcon |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"HourStart": "2025-12-24T15:39:41.8231005+00:00",
"CloudCoverPercent": 2,
"TempCelcius": 3.1,
"IconName": "Unknown"
},
{
"HourStart": "2025-12-24T15:39:41.8231005+00:00",
"CloudCoverPercent": 2,
"TempCelcius": 3.1,
"IconName": "Unknown"
}
]
text/html
Sample:
[{"HourStart":"2025-12-24T15:39:41.8231005+00:00","CloudCoverPercent":2,"TempCelcius":3.1,"IconName":"Unknown"},{"HourStart":"2025-12-24T15:39:41.8231005+00:00","CloudCoverPercent":2,"TempCelcius":3.1,"IconName":"Unknown"}]