<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                > 需要最新2018年全國各省市區縣JSON數據丶天氣素材,收費5元(寫代碼很辛苦的) **簡要描述:** - 獲取本地天氣或手動地址 * * * * * **請求URL:** - ` http://api.guaqb.cn/v1/weather ` **請求方式:** - POST **參數:** |參數名|必選|類型|說明| |:---- |:---|:----- |----- | |key|是 |string |key | |my|是 |string |密鑰 | |token|是 |string |令牌 | |time|是 |int |過期時間 | |province|否 |string|省級 | |city|否 |string |市級 | |district|否 |string |縣區級 | |manual|否 |int|手動地址 | |today|否 |int |一天天氣 ,沒有該參數是一周天氣| > 一天天氣返回示例 ***** [{"city":"泰和縣","alarm":"江西省氣象臺2018年10月11日06時40分發布大霧黃色預警信號:目前宜春、鷹潭、萍鄉、吉安、撫州、上饒、新余七市的部分地區已出現大霧天氣,預計未來3-4小時大霧仍將持續,請注意防范。(預警信息來源:國家預警信息發布中心)","day_weather":"多云","night_weather":"晴","min_degree":"14","max_degree":"24","day_wind":"3","day_wind_direction":"北風","sunrise":"06:19","sunset":"17:57","aqi":52,"aqi_name":"良","limit_tail":"","now_pressure":"1014","now_humidity":"50","now_degree":"18","now_weather_short":"多云","now_wind_power":"1","now_wind_direction":"8","now_precipitation":"0.0","update_time":"2018-10-11 19:45:00","airconditioner":"您將感到很舒適,一般不需要開啟空調。","allergy":"天氣條件易誘發過敏,易過敏人群應減少外出,外出宜穿長衣長褲并佩戴好眼鏡和口罩,外出歸來時及時清潔手和口鼻。","carwash":"較適宜洗車,未來一天無雨,風力較小,擦洗一新的汽車至少能保持一天。","clothes":"建議著長袖T恤、襯衫加單褲等服裝。年老體弱者宜著針織長袖襯衫、馬甲和長褲。","cold":"晝夜溫差較大,較易發生感冒,請適當增減衣服。體質較弱的朋友請注意防護。","sunscreen":"屬中等強度紫外輻射天氣,外出時應注意防護,建議涂擦SPF指數高于15,PA+的防曬護膚品。","umbrella":"天氣較好,您在出門的時候無須帶雨傘。","tourism":"天氣較好,溫度適宜,是個好天氣哦。這樣的天氣適宜旅游,您可以盡情地享受大自然的風光。","sports":"天氣較好,趕快投身大自然參與戶外運動,盡情感受運動的快樂吧。","drying":"天氣較好,趕快投身大自然參與戶外運動,盡情感受運動的快樂吧。","tips":"現在的溫度比較涼爽~","time":"2018-10-11"}]` ***** > 七天天氣返回示例 [{"city":"泰和縣","day_weather":"小雨","night_weather":"陰","min_degree":"14","max_degree":"21","day_wind":"3","day_wind_direction":"北風","time":"2018-10-10"},{"city":"泰和縣","day_weather":"多云","night_weather":"晴","min_degree":"14","max_degree":"24","day_wind":"3","day_wind_direction":"北風","time":"2018-10-11"},{"city":"泰和縣","day_weather":"晴","night_weather":"多云","min_degree":"13","max_degree":"24","day_wind":"3","day_wind_direction":"北風","time":"2018-10-12"},{"city":"泰和縣","day_weather":"小雨","night_weather":"小雨","min_degree":"14","max_degree":"22","day_wind":"3","day_wind_direction":"北風","time":"2018-10-13"},{"city":"泰和縣","day_weather":"小雨","night_weather":"中雨","min_degree":"16","max_degree":"19","day_wind":"3","day_wind_direction":"北風","time":"2018-10-14"},{"city":"泰和縣","day_weather":"中雨","night_weather":"小雨","min_degree":"16","max_degree":"19","day_wind":"3","day_wind_direction":"北風","time":"2018-10-15"},{"city":"泰和縣","day_weather":"小雨","night_weather":"陰","min_degree":"17","max_degree":"20","day_wind":"3","day_wind_direction":"北風","time":"2018-10-16"},{"city":"泰和縣","day_weather":"多云","night_weather":"多云","min_degree":"16","max_degree":"24","day_wind":"3","day_wind_direction":"北風","time":"2018-10-17"}] ***** **返回參數說明** 參數太多我不想解釋,自己百度英文意思吧! 給你們百度翻譯地址,不要來找我哦,我很兇的,我自己都怕自己?? https://fanyi.baidu.com/?aldtype=16047#auto/zh > 這個接口必須使用 token令牌,可以有效防止抓包 ~~~ IAPP代碼,僅供測試環境下使用 t() { s today=1 //一天的天氣 留空是獲取一周天氣 s manual=1 //手動地址 留空自動獲取IP地址 s province="安徽省" //省級 s city="蕪湖市" //市級 s district="蕪湖縣" //縣級 s otime=30 //過期時間 建議不小于5s ,網絡環境會影響time值的差距 s key="" //這里輸入key s my="" //這里輸入my time(4,a) ssg(a,0,10,ntime) s(ntime+otime,ctime) ss(key+my+user+ctime,all) ss("http://api.guaqb.cn/v1/secret/?type=md5&content="+all+"&key="+key+"&secret="+my,md51) hs(md51,md5) //由于IAPP沒有md5函數,只能調用我的接口實現。IAPP調用JAVA實現MD5代碼可進群獲取 ssg(md5,24,32,to) ss(to+ctime,token) ss("key="+key+"&my="+my+"&token="+token+"&time="+otime+"&today="+today+"&manual="+manual+"&province="+province+"&city="+city+"&district="+district,data) hs("http://api.guaqb.cn/v1/weather/index.php",data,"utf-8",b) sj(b,"[","]",k) //IAPP對JSON格式我真的是服氣, json(k,e) json(e,"get","now_weather_short",s) json(e,"get","city",n) json(e,"get","now_degree",t) //如果是一周天氣就不是這樣寫json哦 ufnsui() { ss(n+" 現在天氣:"+s+" 溫度:"+t+"℃",m) tw(m) //試試打印出來 } syso(k) } 感謝管管理“墨軒(783821585)”的協助???? 有更多代碼可以發到222508333群里共享! ~~~ 其他語言源碼請加群222508333獲取 **備注** - 更多返回錯誤代碼請看首頁的錯誤代碼描述
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看