10 days by location key and group id
Return 10 days of daily indices for a specific group id and location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
query Parameters
languagestringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usformatstringA string value that specifies what type of format to provide the response.
Default: jsondetailsbooleanA boolean value that specifies whether or not to include extended information.
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
LocalDateTimestring · date-time · requiredValid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateTimeinteger · int64 · requiredValid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
MobileLinkstring · uri · requiredLink to indices on AccuWeather's mobile site for the requested location.
Linkstring · uri · requiredLink to indices on AccuWeather's free site for the requested location.
Namestring | nullName of the index.
IDinteger · int32Numeric id used to identify the specific index.
AscendingbooleanBit that describes the direction of the index value. When true, the poorest value is 0, best value is 10. When false, the poorest value is 10, best value is 0.
Valuenumber | null · floatIndex value that ranges from 0.0 to 10.0.
Categorystring | nullLevel that the index value falls. Categories differ among indices.
CategoryValueinteger · int32Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.
Textstring | nullSentence that can be used for display purposes to sum up the index value and category.
10 days by location key
Return 10 days of daily indices for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKeystring · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
languagestringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usformatstringA string value that specifies what type of format to provide the response.
Default: jsongroupIDstringA numerical value representing a group of related indices. More information can be found here.
Example: 1detailsbooleanA boolean value that specifies whether or not to include extended information.
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
LocalDateTimestring · date-time · requiredValid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateTimeinteger · int64 · requiredValid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
MobileLinkstring · uri · requiredLink to indices on AccuWeather's mobile site for the requested location.
Linkstring · uri · requiredLink to indices on AccuWeather's free site for the requested location.
Namestring | nullName of the index.
IDinteger · int32Numeric id used to identify the specific index.
AscendingbooleanBit that describes the direction of the index value. When true, the poorest value is 0, best value is 10. When false, the poorest value is 10, best value is 0.
Valuenumber | null · floatIndex value that ranges from 0.0 to 10.0.
Categorystring | nullLevel that the index value falls. Categories differ among indices.
CategoryValueinteger · int32Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.
Textstring | nullSentence that can be used for display purposes to sum up the index value and category.
10 days by location key and index id
Return 10 days of daily indices for a specific index id and location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
query Parameters
languagestringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usformatstringA string value that specifies what type of format to provide the response.
Default: jsondetailsbooleanA boolean value that specifies whether or not to include extended information.
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
LocalDateTimestring · date-time · requiredValid datetime of the index displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateTimeinteger · int64 · requiredValid datetime for the index displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
MobileLinkstring · uri · requiredLink to indices on AccuWeather's mobile site for the requested location.
Linkstring · uri · requiredLink to indices on AccuWeather's free site for the requested location.
Namestring | nullName of the index.
IDinteger · int32Numeric id used to identify the specific index.
AscendingbooleanBit that describes the direction of the index value. When true, the poorest value is 0, best value is 10. When false, the poorest value is 10, best value is 0.
Valuenumber | null · floatIndex value that ranges from 0.0 to 10.0.
Categorystring | nullLevel that the index value falls. Categories differ among indices.
CategoryValueinteger · int32Level that the index value falls represented by an int. This value can be 1 through 5 and should be used in combination with the ascending flag because it can differ among indices.
Textstring | nullSentence that can be used for display purposes to sum up the index value and category.