指数API指南

 

搜索类型:

 

 

 

日常指数元数据列表

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}

 

示例:

http://api.weathercn.com/indices/v1/daily?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

顶部

 



指定指数元数据

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/{index id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}

 

示例:

http://api.weathercn.com/indices/v1/daily/1?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

顶部

 



指数分组元数据列表

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/groups{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}

 

示例:

http://api.weathercn.com/indices/v1/daily/groups?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

顶部

 



指定分组里的指数元数据列表

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/groups/{group id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}

 

示例:

http://api.weathercn.com/indices/v1/daily/groups/7?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

顶部

  



 使用LocationKey调取1日指数

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/1day/{locationKey}/{index id or groups}/{group id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}{&details={true or false}}

 

示例:

http://api.weathercn.com/indices/v1/daily/1day/335315/groups/4?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

顶部

 



使用LocationKey调取5日指数

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/5day/{locationKey}/{index id or groups}/{group id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}{&details={true or false}}

 

示例:

http://api.weathercn.com/indices/v1/daily/5day/335315?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}&details=true

顶部

 



 使用LocationKey调取10日指数

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/10day/{locationKey}/{index id or groups}/{group id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}{&details={true or false}}

 

示例:

http://api.weathercn.com/indices/v1/daily/10day/335315/groups/2?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}&details=true

顶部

 



 使用LocationKey调取15日指数

http://{{api} or {{apidev}}.weathercn.com/indices/{version}/daily/15day/{locationKey}/{index id or groups}/{group id}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}{&details={true or false}}

 

示例:

http://api.weathercn.com/indices/v1/daily/15day/335315/29?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}&language=es&details=true

顶部