雾霾区域实况图接口

From Caiyun Wiki
Revision as of 06:06, 20 March 2019 by Liuzhonghua (talk | contribs)
Jump to: navigation, search

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
                }
            }
}