獲取天氣介面資料
阿新 • • 發佈:2018-11-17
不需要圖片的介面,本地測試5分鐘3000+沒問題,沒封IP
public static void main(String[] args) { //String weatherUrl ="http://wthrcdn.etouch.cn/weather_mini?city="; //String weatherUrl = "https://www.apiopen.top/weatherApi?city="; int i = 0; while (true){ i++; String url = "http://wthrcdn.etouch.cn/weather_mini?city=徐州市"; String s = HttpClient.doGet(url); System.out.println(s); System.out.println("系統運行了-------"+i); } }
需要提供圖片資訊的介面!!!!找了好久
https://www.shenjianshou.cn/index.php?r=market/product&product_id=500469
去神劍雲註冊個賬號,返回的資料很多 裡面包含天氣的圖片,省的自己去找了,對圖片質量沒有要求的兄弟可以考慮這個介面,有更好的歡迎共享