Alibabacloud.com offers a wide variety of articles about national weather service canada, easily find your national weather service canada information here online.
Weather forecast interface provided by National Weather Service
Interface Address:
Http://www.weather.com.cn/data/sk/101010100.htmlHttp://www.weather.com.cn/data/cityinfo/101010100.htmlHttp://m.weather.com.cn/data/101010100.html
For the third interface, the return information is more comprehensive and is provided in
The National Weather Service provides three types of data
Web site in:
Http://www.weather.com.cn/data/sk/101010100.html
Http://www.weather.com.cn/data/cityinfo/101010100.html
Http://m.weather.com.cn/data/101010100.html
The last one is the most comprehensive analysis.
Data parsing format:
The JSON data provided by the first URL is:
Copy Code code as
above contains a picture name that can be accessed through the address
Http://m.weather.com.cn/img/c0.gif
Http://m.weather.com.cn/img/b0.gif
Http://www.weather.com.cn/m/i/weatherpic/29x20/d0.gif
http://www.weather.com.cn/m2/i/icon_weather/29x20/n00.gif
This is a picture of weather phenomena 0 (clear), pictures of other weather phenomena and so on. c The picture is 20*20 pixels, B
There is a weather forecast demand in the project. I found a suggestion on the Internet for most people to use WebService to obtain data. So I tried to do it. I did not know it, but I learned a lot from it.
First, let's get the weather service provided by the National Meteorological Administration through WebService.
T
Today, a Web service interface was suddenly used to dockThink about it, Apache CXF can publish the service, you should also receive servicesThen went to try a bit, during the various mistakes of various helplessLater on-line a search, find out the following DongdongSuddenly there was a slap in the face of the impulse,Here is the weather interface provided by the
cloudy","weather_id": {"FA":" the","FB":" the"},"Wind":"Southerly Breeze","Week":"Friday","Date":"20150313"},"day_20150319": {"Temperature":"10℃~18℃","Weather":"Yin","weather_id": {"FA":" the","FB":" the"},"Wind":"Southerly Breeze","Week":"Thursday","Date":"20150319"} } },"Error_code":0The JSON data format for the next three days: {"ResultCode":" the","Reason":"successed!","Result": [{"Weatherid":" the","
"Using the DB2-based data warehouse, we can quickly and effectively meet the information requirements of end users. By granting analysts direct access to all the CN operation data stored in the data warehouse, the response speed is significantly improved, and the IT department is reduced as the main report builder and query manager. "-- RegSimpson, Information Department Manager, Canada National Railway Cor
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.