National Weather Query Interface:
According to the city name carved query to the city's weather conditions, humidity, temperature, clothing index, etc.
Details: HTTP://WWW.HAOSERVICE.COM/DOCS/6
Sample Demo:
{
"ResultCode": "200",
"Reason": " query succeeded !",
"Result": {
"SK": {
/* Current Live weather */"temp": " +",
/* Current temperature */"wind_direction": " westerly ",
/* current Wind Direction */"wind_strength": " level 2 ",
/* current Wind */"humidity": "4%",
/* Current Humidity */"Time": "14:25"/* update times * /
},
"Today": {
"City": " Tianjin ",
"Date_y": "The year of the month " ,
"Week": " Friday ",
"Temperature": "8℃℃",
/ * Today's temperature */"Weather": " fine Turn haze ",
/* Today's weather */"weather_id": {
/* Weather Unique identification */"FA": "XX",
/* Weather ID :Sunny */"FB": "+"/* Weather ID : Haze if fa Not equal to FB , the description is the combination of weather */
},
"Wind": " Southwest Wind Breeze " ,
"Dressing_index": " cooler " ,
/* Dressing Index */"Dressing_advice": " recommended coats, coats and sweaters, sweatshirt and other clothing." ",
/* Dressing advice */"Uv_index": " medium ",
/* UV intensity */"Comfort_index": "",
/* Comfort Index */"Wash_index": " more suitable ",
/* Car Wash index */"Travel_index": " suitable ",
/* Tourism Index */"Exercise_index": " more appropriate ",
/* Morning Exercise Index */"Drying_index": ""/* Dry Index * /
},
"Future": {
/* Weather for the next few days */"day_20140321": {
"Temperature": "8℃℃",
"Weather": " Sunny Turn haze ",
"weather_id": {
"FA": "00",
"FB": "53"
},
"Wind": " Southwest Wind Breeze " ,
"Week": " Friday ",
"Date": "20140321"
},
"day_20140322": {
"Temperature": "9℃~21℃",
"Weather": " Haze turns cloudy ",
"weather_id": {
"FA": "53",
"FB": "01"
},
"Wind": " winds of the northeast wind turn southeast Wind Breeze ",
"Week": " Saturday ",
"Date": "20140322"
},
"day_20140323": {
"Temperature": "9℃~19℃",
"Weather": " Yin ",
"weather_id": {
"FA": "02",
"FB": "02"
},
"Wind": "The southerly breeze ",
"Week": " Sunday ",
"Date": "20140323"
},
"day_20140324": {
"Temperature": "8℃~19℃",
"Weather": " Sunny Turn Cloudy ",
"weather_id": {
"FA": "00",
"FB": "01"
},
"Wind": " Southwest Wind Breeze to the south Wind Breeze ",
"Week": " Monday ",
"Date": "20140324"
},
"day_20140325": {
"Temperature": "9℃℃",
"Weather": " cloudy " ,
"weather_id": {
"FA": "01",
"FB": "01"
},
"Wind": "The southerly breeze ",
"Week": " Tuesday ",
"Date": "20140325"
},
"day_20140326": {
"Temperature": "Ten℃~19℃",
"Weather": " cloudy " ,
"weather_id": {
"FA": "01",
"FB": "01"
},
"Wind": "The southerly breeze ",
"Week": " Wednesday ",
"Date": "20140326"
},
"day_20140327": {
"Temperature": "℃℃",
"Weather": " Overcast Turn cloudy ",
"weather_id": {
"FA": "02",
"FB": "01"
},
"Wind": "The southerly breeze is not going to continue the wind breeze ",
"Week": " Thursday ",
"Date": "20140327"
}
}
}
}
National Weather Query API