[关闭]
@931876502 2016-03-30T11:23:46.000000Z 字数 3661 阅读 404

API.WI01天气数据接口

aladinApi

版本号:0.0.1
部门:研发部
岗位:服务端开发人员
姓名:杨松
建立日期:2016-2-18
更新日期:2016-2-23 10:35

API.WI01获取七天天气信息

  1. {
  2. "data": {
  3. "forecast": [
  4. {
  5. "cityCode": "CN101210101",
  6. "tempMax": "9",
  7. "tempMin": "1",
  8. "type1": "多云",
  9. "type2": "多云",
  10. "updateTime": "2016-02-24 11:22:43",
  11. "wthDate": "2016-02-24 00:00:00",
  12. "wthIcon": "wi-day-cloudy",
  13. "wthId": 1
  14. },
  15. {
  16. "cityCode": "CN101210101",
  17. "tempMax": "12",
  18. "tempMin": "4",
  19. "type1": "多云",
  20. "type2": "阴",
  21. "updateTime": "2016-02-24 11:22:43",
  22. "wthDate": "2016-02-25 00:00:00",
  23. "wthIcon": "wi-day-cloudy",
  24. "wthId": 2
  25. },
  26. {
  27. "cityCode": "CN101210101",
  28. "tempMax": "14",
  29. "tempMin": "5",
  30. "type1": "阴",
  31. "type2": "多云",
  32. "updateTime": "2016-02-24 11:22:43",
  33. "wthDate": "2016-02-26 00:00:00",
  34. "wthIcon": "wi-day-windy",
  35. "wthId": 3
  36. },
  37. {
  38. "cityCode": "CN101210101",
  39. "tempMax": "17",
  40. "tempMin": "5",
  41. "type1": "阴",
  42. "type2": "多云",
  43. "updateTime": "2016-02-24 11:22:43",
  44. "wthDate": "2016-02-27 00:00:00",
  45. "wthIcon": "wi-day-windy",
  46. "wthId": 4
  47. },
  48. {
  49. "cityCode": "CN101210101",
  50. "tempMax": "16",
  51. "tempMin": "4",
  52. "type1": "多云",
  53. "type2": "多云",
  54. "updateTime": "2016-02-24 11:22:43",
  55. "wthDate": "2016-02-28 00:00:00",
  56. "wthIcon": "wi-day-cloudy",
  57. "wthId": 5
  58. },
  59. {
  60. "cityCode": "CN101210101",
  61. "tempMax": "16",
  62. "tempMin": "5",
  63. "type1": "晴",
  64. "type2": "晴",
  65. "updateTime": "2016-02-24 11:22:43",
  66. "wthDate": "2016-02-29 00:00:00",
  67. "wthIcon": "wi-day-sunny",
  68. "wthId": 6
  69. },
  70. {
  71. "cityCode": "CN101210101",
  72. "tempMax": "20",
  73. "tempMin": "5",
  74. "type1": "晴",
  75. "type2": "晴",
  76. "updateTime": "2016-02-24 11:22:43",
  77. "wthDate": "2016-03-01 00:00:00",
  78. "wthIcon": "wi-day-sunny",
  79. "wthId": 7
  80. }
  81. ]
  82. },
  83. "err": "nothing",
  84. "msg": "success",
  85. "re": {},
  86. "reErr": {},
  87. "statusNo": 200
  88. }

API.WI02更新天气数据接口

  1. {
  2. "data": "恭喜你!共2个城市天气更新已完成!",
  3. "err": "nothing",
  4. "msg": "success",
  5. "re": {},
  6. "reErr": {},
  7. "statusNo": 200
  8. }
  1. {
  2. "data": {
  3. "updateData": [
  4. {
  5. "cityCode": "CN101210101",
  6. "tempMax": "13",
  7. "tempMin": "4",
  8. "type1": "多云",
  9. "type2": "多云",
  10. "updateTime": "2016-02-25 15:43:04",
  11. "wthDate": "2016-02-25 00:00:00",
  12. "wthIcon": "wi-day-cloudy",
  13. "wthId": 1
  14. },
  15. {
  16. "cityCode": "CN101210101",
  17. "tempMax": "14",
  18. "tempMin": "6",
  19. "type1": "阴",
  20. "type2": "多云",
  21. "updateTime": "2016-02-25 15:43:04",
  22. "wthDate": "2016-02-26 00:00:00",
  23. "wthIcon": "wi-day-windy",
  24. "wthId": 2
  25. },
  26. {
  27. "cityCode": "CN101210101",
  28. "tempMax": "18",
  29. "tempMin": "8",
  30. "type1": "多云",
  31. "type2": "多云",
  32. "updateTime": "2016-02-25 15:43:04",
  33. "wthDate": "2016-02-27 00:00:00",
  34. "wthIcon": "wi-day-cloudy",
  35. "wthId": 3
  36. },
  37. {
  38. "cityCode": "CN101210101",
  39. "tempMax": "19",
  40. "tempMin": "6",
  41. "type1": "多云",
  42. "type2": "阴",
  43. "updateTime": "2016-02-25 15:43:04",
  44. "wthDate": "2016-02-28 00:00:00",
  45. "wthIcon": "wi-day-cloudy",
  46. "wthId": 4
  47. },
  48. {
  49. "cityCode": "CN101210101",
  50. "tempMax": "12",
  51. "tempMin": "3",
  52. "type1": "多云",
  53. "type2": "晴",
  54. "updateTime": "2016-02-25 15:43:04",
  55. "wthDate": "2016-02-29 00:00:00",
  56. "wthIcon": "wi-day-cloudy",
  57. "wthId": 5
  58. },
  59. {
  60. "cityCode": "CN101210101",
  61. "tempMax": "14",
  62. "tempMin": "6",
  63. "type1": "晴",
  64. "type2": "多云",
  65. "updateTime": "2016-02-25 15:43:04",
  66. "wthDate": "2016-03-01 00:00:00",
  67. "wthIcon": "wi-day-sunny",
  68. "wthId": 6
  69. },
  70. {
  71. "cityCode": "CN101210101",
  72. "tempMax": "17",
  73. "tempMin": "9",
  74. "type1": "晴",
  75. "type2": "阴",
  76. "updateTime": "2016-02-25 15:43:04",
  77. "wthDate": "2016-03-02 00:00:00",
  78. "wthIcon": "wi-day-sunny",
  79. "wthId": 7
  80. }
  81. ]
  82. },
  83. "err": "nothing",
  84. "msg": "success",
  85. "re": {},
  86. "reErr": {},
  87. "statusNo": 200
  88. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注