Android Car Internet Weather

Source: Internet
Author: User

Weather Enquiry car Networking API Http://developer.baidu.com/map/index.php?title=car/api/weather

http://api.map.baidu.com/telematics/v3/weather?location=%e8%8b%8f%e5%b7%9e&output=json &ak=640f3985a6437dad8135dae98d775a09

{"Error": 0, "status": "Success", "date": "2015-01-19", "results": [{"currentcity": "Suzhou", "PM25": "167", "index": [], " Weather_data ": [{" Date ":" Monday January 19 (Real time: 8 ℃) "," Daypictureurl ":" Http://api.map.baidu.com/images/weather/day/qing.png "," Nightpictureurl ":" Http://api.map.baidu.com/images/weather/night/duoyun.png "," Weather ":" Sunny Turn Cloudy "," Wind ":" North 3-4 level "," Temperature ":" 10 ~ 3 ℃ "},{" date ":" Tuesday "," Daypictureurl ":" Http://api.map.baidu.com/images/weather/day/yin.png "," Nightpictureurl ":" Http://api.map.baidu.com/images/weather/night/yin.png "," Weather ":" Yin "," Wind ":" Southeast Wind Level 3-4 "," Temperature ":" 10 ~ 5 ℃ "},{" date ":" Wednesday "," Daypictureurl ":" Http://api.map.baidu.com/images/weather/day/yin.png "," Nightpictureurl ":" Http://api.map.baidu.com/images/weather/night/duoyun.png "," Weather ":" Overcast to Cloudy "," Wind ":" Westerly level 4-5 "," Temperature ":" 11 ~ 1 ℃ "},{" date ":" Thursday "," Daypictureurl ":" Http://api.map.baidu.com/images/weather/day/qing.png "," Nightpictureurl ":" Http://api.map.baidu.com/images/weather/night/duoyun.png "," Weather ":" Sunny Turn Cloudy "," Wind ": "Northwest Wind Level 4-5", "Temperature": "8 ~ 1 ℃"}]}]} 

http://api.map.baidu.com/telematics/v3/weather?location=%e8%8b%8f%e5%b7%9e&output=XML &ak=640f3985a6437dad8135dae98d775a09

<Cityweatherresponse><Error>0</Error><Status>Success</Status><Date>2015-01-19</Date><Results><currentcity>Suzhou</currentcity><Weather_data><Date>Monday January 19 (Real time: 8 ℃)</Date><Daypictureurl>Http://api.map.baidu.com/images/weather/day/qing.png</Daypictureurl><Nightpictureurl>Http://api.map.baidu.com/images/weather/night/duoyun.png</Nightpictureurl><Weather>Sunny Turn Cloudy</Weather>< Wind>North Wind Level 3-4</ Wind><Temperature>10 ~ 3 ℃</Temperature><Date>Tuesday</Date><Daypictureurl>Http://api.map.baidu.com/images/weather/day/yin.png</Daypictureurl><Nightpictureurl>Http://api.map.baidu.com/images/weather/night/yin.png</Nightpictureurl><Weather>Yin</Weather>< Wind>Southeast Wind Level 3-4</ Wind><Temperature>10 ~ 5 ℃</Temperature><Date>Wednesday</Date><Daypictureurl>Http://api.map.baidu.com/images/weather/day/yin.png</Daypictureurl><Nightpictureurl>Http://api.map.baidu.com/images/weather/night/duoyun.png</Nightpictureurl><Weather>Cloudy with overcast turn</Weather>< Wind>Westerly level 4-5</ Wind><Temperature>11 ~ 1 ℃</Temperature><Date>Thursday</Date><Daypictureurl>Http://api.map.baidu.com/images/weather/day/qing.png</Daypictureurl><Nightpictureurl>Http://api.map.baidu.com/images/weather/night/duoyun.png</Nightpictureurl><Weather>Sunny Turn Cloudy</Weather>< Wind>Northwest Wind Level 4-5</ Wind><Temperature>8 ~ 1 ℃</Temperature></Weather_data><Index></Index><PM25>167</PM25></Results></Cityweatherresponse>

Student Information:

Find a more detailed weather information on the web

http://wthrcdn.etouch.cn/weather_mini?city= Shenzhen
Get weather data by city name, JSON data
http://wthrcdn.etouch.cn/weather_mini?citykey=101280601
Get weather data by City ID, JSON data

http://wthrcdn.etouch.cn/WeatherApi?citykey=101280601
Get weather data by City ID, XML file data,
There will be <error> nodes when errors occur
http://wthrcdn.etouch.cn/WeatherApi?city= Shenzhen
Get weather data by city name, XML file data

Android Car Internet Weather

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.