=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
=cnGoogle has opened a weather API, which is very useful.Use ZIP code (US)http://www.google.com/ig/api?hl=zh-cnweather=94043 (Mountain View, California)Use latitude and longitude coordinateshttp://www.google.com/ig/api?hl=zh-cnweather=,,, 30670000,104019996 (Chengdu)Use the city name of the passHTTP://WWW.GOOGLE.COM/IG
Use PHPAPI to obtain weather forecasts and send them to friends. The API obtains weather forecasts, and uses the Apsara API to send text messages to friends and send scheduled tasks. This allows them to automatically send weather forecasts to themselves and their loved ones
API get weather forecast, and use Fetion API to send SMS to friends
Plus the scheduled task, you can continue to send daily weather forecast to yourself and loved ones ...
5 Strtolower (substr ($url, 0,5)) = = "https") {curl_setopt ($ch, Curlopt_ssl_verifypeer, false); Curl_setopt ($ CH, curlopt_ssl_verifyhost, fal
weather forecast API, the result has really found a:4. and wind Weather API (OK)Various Interface API documentation ... Well, say it in detail. Suddenly burst into tearsSign up and get up.Finally there is a message back, good detail, decided to use this.Second, the Analytic
/) to apply for trial free API, but so-called free, Also only tentative free, later will not charge is unknown.Integrated three API, the first two data is too thin, but also is real-time weather, no future days of weather data, can not meet the demand, the previous general third also can not be used. By the way, the
The China Meteorological Bureau provides three API interfaces for weather queries:"1" http://www.weather.com.cn/data/sk/101190101. html"2" http://www.weather.com.cn/data/cityinfo/101190101. html"3" http://m.weather.com.cn/data/101190101. htmlReturns data in JSON format, the first and second interfaces return real-time weather
Step1: Select the interface "National Weather forecast Interface" aggregated data url:http://www.juhe.cn/docs/api/id/39/aid/87 The example in this article
Step2: Each interface needs to pass in a parameter key, which is equivalent to the user's token, so the first step is to apply for a key.
step3: The students who have studied Java know that when we do not understand a class or method of their intentions
API Address:PM2.5 APIhttp://api.lib360.net/open/pm2.5.json?city= Luoyang7 days 24 Hours weather APIhttp://api.lib360.net/open/weather.json?city= SuzhouGET RequestParametersProv optional provinces such as: Jiangsu, HebeiCity name: Suzhou, ShanghaiReturn Data format JSONThe data field returns 7 days of weather conditions
Weather forecast query Interface API, here I am using the National Weather forecast interfaceUse more also: Sina weather interface, Baidu weather interface, Google weather interface, Yahoo wea
= ZH-CN
(Query the code of all countries supported by Google and display it in ZH-CN Simplified Chinese)
Http://www.google.com/ig/cities? Output = xml HL = ZH-CN Country = Cn
Http://www.google.com/ig/cities? Country = Cn
By default, English is returned. You can add a parameter to return Chinese characters:
Http://www.google.com/ig/api? Weather = Nanjing HL = ZH-CN
Get the code for all cities i
This article mainly introduces how to obtain weather information from Baidu API by using Python. The example analyzes the skills of using Python to operate Baidu API, which has some reference value, for more information about how to obtain weather conditions from Baidu API,
Google opened a set of weather forecast API, which is still very useful.Use zip code (USA)Http://www.google.com/ig/api? Hl = ZH-CN weather = 94043 (Mountain View city, California)Use longitude and latitude coordinates
Http://www.google.com/ig/api? Hl = ZH-CN
Use bo api to create weather check software, boapi
Let's take a look at the effect.
Interface address: http://service.boapi.net/Weather/Weather.ashx? Appkey = The appkey city = city name you applied
Interface Description view http://www.boapi.net/weather.htm
Key code of request service
JToken WheatherJson (string city) {WebClient wc = new WebClient (); strin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.