AccuWeather integration (Location, Data). Imported from open-connector.
https://dataservice.accuweather.com/locations/v1/cities/search
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | The city, postal code, or place text to search for. |
| language | string | optional | The AccuWeather language code used to localize results. |
| details | boolean | optional | Whether AccuWeather should include optional extended details in the response. |
| offset | integer | optional | The result offset requested from AccuWeather. |
| alias | integer | optional | The AccuWeather alias mode: 0 for always, 1 for never, or 2 only when no offici… |
/locations/v1/cities/geoposition/search
| Param | Type | Required | Description |
|---|---|---|---|
| latitude | number | required | The latitude in decimal degrees. |
| longitude | number | required | The longitude in decimal degrees. |
| language | string | optional | The AccuWeather language code used to localize results. |
| details | boolean | optional | Whether AccuWeather should include optional extended details in the response. |
| topLevel | boolean | optional | Whether AccuWeather should return only top-level administrative data. |
/currentconditions/v1/{locationKey}
| Param | Type | Required | Description |
|---|---|---|---|
| locationKey | string | required | The AccuWeather location key returned by a location search endpoint. |
| language | string | optional | The AccuWeather language code used to localize results. |
| details | boolean | optional | Whether AccuWeather should include optional extended details in the response. |
/forecasts/v1/daily/{duration}/{locationKey}
| Param | Type | Required | Description |
|---|---|---|---|
| locationKey | string | required | The AccuWeather location key returned by a location search endpoint. |
| duration | string | required | The AccuWeather daily forecast duration endpoint to call. |
| language | string | optional | The AccuWeather language code used to localize results. |
| details | boolean | optional | Whether AccuWeather should include optional extended details in the response. |
| metric | boolean | optional | Whether forecast values should be returned in metric units. |
/forecasts/v1/hourly/{duration}/{locationKey}
| Param | Type | Required | Description |
|---|---|---|---|
| locationKey | string | required | The AccuWeather location key returned by a location search endpoint. |
| duration | string | required | The AccuWeather hourly forecast duration endpoint to call. |
| language | string | optional | The AccuWeather language code used to localize results. |
| details | boolean | optional | Whether AccuWeather should include optional extended details in the response. |
| metric | boolean | optional | Whether forecast values should be returned in metric units. |