雾霾区域实况图接口
Revision as of 06:09, 20 March 2019 by Liuzhonghua (talk | contribs)
Contents
授权与认证
请先至彩云开放平台注册,注册后可以获得 token 。使用本接口,开发者token需要额外开通权限,请联系商务:api@caiyunapp.com
请求样例
api.caiyunapp.com/v1/aqi/images?token=@TOKEN&lon=120&lat=20
api.caiyunapp.com/v1/aqi/images?token=@TOKEN&lon=-120&lat=20
返回结构和说明
api.caiyunapp.com/v1/aqi/images?token=@TOKEN&lon=120&lat=20
{ status "ok" category "aqi_latest_obs_image" imagee: 0:{ 0: "http://cdn.caiyunapp.com/weather/pm25_rt_as_20190318_05.png", 1: 1552885200, 2:{ -10, #图片最南处纬度 lat0 60, #图片最西处经度 lon0 56, #图片最北处纬度 lat1 146 #图片最东处经度 lon1 } } }
api.caiyunapp.com/v1/aqi/images?token=@TOKEN&lon=-120&lat=20
{ status "ok" category "aqi_latest_obs_image" imagee: 0:{ 0: "http://cdn.caiyunapp.com/weather/pm25_rt_na_20190318_05.png" 1: 1552885200 2:{ 15, #图片最南处纬度 lat0 -169, #图片最西处经度 lon0 71.5, #图片最北处纬度 lat1 -52 #图片最东处经度 lon1 } } }