Risestring`json:"Rise,omitempty"`// Rise displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochRiseint64`json:"EpochRise,omitempty"`// Rise displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Setstring`json:"Set,omitempty"`// Set displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochSetint64`json:"EpochSet,omitempty"`// Set displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Phasestring`json:"Phase,omitempty"`// 月相(只有月亮有)
Ageint32`json:"Age,omitempty"`// The number of days since the new moon. (只有月亮有)
}
// Summary of Heating Degree Day or Cooling Degree Day information.
typeDegreeDaySummarystruct{
HeatingUnitInfo`json:"Heating,omitempty"`// Number of degrees that the mean temperature is below 65 degrees F. An object with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.
CoolingUnitInfo`json:"Cooling,omitempty"`// Number of degrees that the mean temperature is above 65 degrees F. An object with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.
}
// 空气和花粉
typeAirAndPollenstruct{
Namestring`json:"Name,omitempty"`// Name of the pollen or pollutant. For example: grass, mold, weed, air quality, tree and UV index.
Valueint32`json:"Value,omitempty"`// Value of the given type above. Values associated with mold, grass, weed and tree are in units of parts per cubic meter. Both air quality and UV are indices, so they are unitless.
Categorystring`json:"Category,omitempty"`// Category of the air quality or pollution type. For example: low, high, good, moderate, unhealthy, hazardous.
CategoryValueint32`json:"CategoryValue,omitempty"`// Value associated with the air quality or pollution category. These values range from 1 to 6. 1 implying good conditions, 6 implying hazardous conditions.
Typestring`json:"Type,omitempty"`// Only exists for air quality. Examples include ozone and particle pollution.
}
// 返回跟踪
typeTracestruct{
Timestampstring`json:"timestamp,omitempty"`
RequestIdstring`json:"requestId,omitempty"`
BuildIdstring`json:"buildId,omitempty"`
}
// 预报总览
typeHeadlinestruct{
EffectiveDatestring`json:"EffectiveDate,omitempty"`// Datetime displayed in ISO8601 format: yyyy-mm-ddThh:mm:ss±hh:mm that the headline is in effect.
EffectiveEpochDateint64`json:"EffectiveEpochDate,omitempty"`// Effective datetime of the headline displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Severityint32`json:"Severity,omitempty"`// Severity of the headline displayed as an integer. The lower the number, the greater the severity.
Textstring`json:"Text,omitempty"`// Text of the headline.
Categorystring`json:"Category,omitempty"`// Category of the headline.
EndDatestring`json:"EndDate,omitempty"`// Datetime displayed in ISO8601 format: yyyy-mm-ddThh:mm:ss±hh:mm that the headline period ends.
EndEpochDateint64`json:"EndEpochDate,omitempty"`// End datetime of the headline displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
MobileLinkstring`json:"MobileLink,omitempty"`// Link to current conditions on AccuWeather's mobile site for the requested location.
Linkstring`json:"Link,omitempty"`// Link to current conditions on AccuWeather's free site for the requested location.
}
// 天气情况
typeWeatherInfostruct{
Iconint32`json:"Icon,omitempty"`// 天气图标
IconPhrasestring`json:"IconPhrase,omitempty"`// Phrase description of the Icon.
ShortPhrasestring`json:"ShortPhrase,omitempty"`// Phrase description of the forecast. (Note: AccuWeather attempts to keep this phrase under 30 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 30 characters.).
LongPhrasestring`json:"LongPhrase,omitempty"`// Phrase description of the forecast. (Note: AccuWeather attempts to keep this phrase under 100 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 100 characters.).
WetBulbTemperatureUnitsRange`json:"WetBulbTemperature,omitempty"`// The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.
WebBulbGlobeTemperatureUnitsRange`json:"WebBulbGlobeTemperature,omitempty"`// A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.
UVIndexFloatNumbersRange`json:"UVIndexFloat,omitempty"`// An object containing the sun's measured ultraviolet radiation strength.
}
// 每日预报
typeDailyForecaststruct{
Datestring`json:"Date,omitempty"`// Date of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateint64`json:"EpochDate,omitempty"`// Date of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
RealFeelTemperatureShadeUnitsRange`json:"RealFeelTemperatureShade,omitempty"`// An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.
WindChillTemperatureUnits`json:"WindChillTemperature,omitempty"`// An object containing information about perceived air temperature on exposed skin due to wind with rounded values for Fahrenheit and Celsius.
WetBulbTemperatureUnits`json:"WetBulbTemperature,omitempty"`// The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. An object containing a rounded value for Fahrenheit and Celsius.
WebBulbGlobeTemperatureUnits`json:"WebBulbGlobeTemperature,omitempty"`// A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. An object containing a rounded value for Fahrenheit and Celsius.
Precip1hrUnits`json:"Precip1hr,omitempty"`// Amount of liquid water equivalent of precipitation that has fallen in the past hour. An object containing a rounded value for Inch and Millimeter.
ApparentTemperatureUnits`json:"ApparentTemperature,omitempty"`// Perceived outdoor temperature caused by the combination of air temperature, relative humidity, and wind speed.