├── 12306.md ├── BingDic.md ├── CenterWeather.md ├── CenterWeatherCityCode.db ├── CenterWeatherCityCode.json ├── DoubanMovie.md ├── ExpressDelivery.md ├── ExpressDelivery100.json ├── ExpressDelivery100.md ├── ExpressDelivery100Code.json ├── ExpressDeliveryCode.json ├── Eyepetizer.md ├── KingsoftDic.md ├── Livideo.md ├── MeizuWeather.md ├── Meizu_cities.json ├── Meizu_city.json ├── Neihan.md ├── ONEv3.5.0~.md ├── ONE~v3.5.0.md ├── OneArticle.md ├── README.md ├── Time.md ├── TimeApp-Area-id.json ├── Todaynews.md ├── Tuchong.md ├── TuniuStationCode.json ├── TuniuTickets.md ├── XiaomiWeather.md ├── Yixi.md ├── YoudaoDic.md ├── mircrosoft_bing_dic.db ├── mircrosoft_bing_dic.xlsx ├── train_station_code.xlsx ├── xiaomi_weather.db └── xiaomi_weather_status.json /12306.md: -------------------------------------------------------------------------------- 1 | - [前言](#preface) 2 | - [票数](#tickets) 3 | - [票价](#price) 4 | 5 |

前言

6 | 7 | `12306` 的 api 是 https 请求,所以在网络请求中需要添加证书,根证书下载地址就在 12306 首页上可以看到,[下载链接请戳我](http://www.12306.cn/mormhweb/ggxxfw/wbyyzj/201106/srca12306.zip) 8 | 9 | 请求中可能需要使用到火车出发站、始发站、到达站、终点站所对应的代号,我已经将相应的数据转成了 WPS 的表格,[点我查看文件](https://github.com/jokermonn/-Api/blob/master/train_station_code.xlsx),下载后可以用 WPS 或 Excel 打开即可,或自行转成数据库文件,文件中的 `teleCode 10 | ` 列就是相应的站点代号了。 11 | 12 |

票数

13 | 14 | 请求方式:`GET` 15 | 16 | url:`https://kyfw.12306.cn/otn/leftTicket/query` 17 | 18 | ps:12306 网页版的 api 不是很稳定,定期会更改,更改套路是上面 url 中的 `leftTicket/query` 后面可能会增加一个大写的字母。例如: `https://kyfw.12306.cn/otn/leftTicket/queryA`,此时返回的 json 中有一个 `c_url` 字段,将其拼接在 `https://kyfw.12306.cn/otn/` 后就是最新的 api 接口。可见 [issue#1](https://github.com/jokermonn/-Api/issues/1) 19 | 20 | 参数: 21 | 22 | | 参数名 | 参数意义 | 参数类型 | 23 | | ------------- |:-------------:| -----:| 24 | | leftTicketDTO.train_date | 乘车日期,`yyyy-MM-dd` 格式(例:2017-02-05) | String | 25 | | leftTicketDTO.from_station | 始发站码,取值参考数据库 | String | 26 | | leftTicketDTO.to_station | 终点站码,取值参考数据库 | String | 27 | | purpose_codes | 乘车人员码,取值(普通 `ADULT`,学生 `0X00`) | String | 28 | 29 | url 示例:[`https://kyfw.12306.cn/otn/leftTicket/query?leftTicketDTO.train_date=2017-02-05&leftTicketDTO.from_station=BJP&leftTicketDTO.to_station=SHH&purpose_codes=0X00`](https://kyfw.12306.cn/otn/leftTicket/queryZ?leftTicketDTO.train_date=2017-02-05&leftTicketDTO.from_station=BJP&leftTicketDTO.to_station=SHH&purpose_codes=0X00)(`2017年02月05日`,`北京`到`上海`的`普通`乘客票) 30 | 31 | json 示例: 32 | 33 | { 34 | "validateMessagesShowId": "_validatorMessage", 35 | "status": true, 36 | "httpstatus": 200, 37 | "data": [ 38 | { 39 | "queryLeftNewDTO": { 40 | "train_no": "240000G1230Z", 41 | "station_train_code": "G123", 42 | "start_station_telecode": "VNP", 43 | "start_station_name": "北京南", 44 | "end_station_telecode": "AOH", 45 | "end_station_name": "上海虹桥", 46 | "from_station_telecode": "VNP", 47 | "from_station_name": "北京南", 48 | "to_station_telecode": "AOH", 49 | "to_station_name": "上海虹桥", 50 | "start_time": "11:05", 51 | "arrive_time": "16:50", 52 | "day_difference": "0", 53 | "train_class_name": "", 54 | "lishi": "05:45", 55 | "canWebBuy": "N", 56 | "lishiValue": "345", 57 | "yp_info": "sE3veQEvivDNrJQAIUCZI5PtvU7ENkijF8pSvENHwys5z311", 58 | "control_train_day": "20301231", 59 | "start_train_date": "20170205", 60 | "seat_feature": "O3M393", 61 | "yp_ex": "O090M0", 62 | "train_seat_feature": "3", 63 | "seat_types": "O9M", 64 | "location_code": "P3", 65 | "from_station_no": "01", 66 | "to_station_no": "11", 67 | "control_day": 29, 68 | "sale_time": "0800", 69 | "is_support_card": "0", 70 | "controlled_train_flag": "0", 71 | "controlled_train_message": "正常车次,不受控", 72 | "train_type_code": "2", 73 | "start_province_code": "31", 74 | "start_city_code": "0357", 75 | "end_province_code": "33", 76 | "end_city_code": "0712", 77 | "yz_num": "--", 78 | "rz_num": "--", 79 | "yw_num": "--", 80 | "rw_num": "--", 81 | "gr_num": "--", 82 | "zy_num": "无", 83 | "ze_num": "无", 84 | "tz_num": "--", 85 | "gg_num": "--", 86 | "yb_num": "--", 87 | "wz_num": "--", 88 | "qt_num": "--", 89 | "swz_num": "无" 90 | }, 91 | "secretStr": "", 92 | "buttonTextInfo": "预订" 93 | }, 94 | { 95 | "queryLeftNewDTO": { 96 | "train_no": "2400000G2108", 97 | "station_train_code": "G21", 98 | "start_station_telecode": "VNP", 99 | "start_station_name": "北京南", 100 | "end_station_telecode": "AOH", 101 | "end_station_name": "上海虹桥", 102 | "from_station_telecode": "VNP", 103 | "from_station_name": "北京南", 104 | "to_station_telecode": "AOH", 105 | "to_station_name": "上海虹桥", 106 | "start_time": "16:00", 107 | "arrive_time": "21:14", 108 | "day_difference": "0", 109 | "train_class_name": "", 110 | "lishi": "05:14", 111 | "canWebBuy": "Y", 112 | "lishiValue": "314", 113 | "yp_info": "WmvP8FMB9uVqGcP1F4NHBnyROKJlVXgN5%2BROQdLyLq2LFnqJ", 114 | "control_train_day": "20301231", 115 | "start_train_date": "20170205", 116 | "seat_feature": "O3M393", 117 | "yp_ex": "O0M090", 118 | "train_seat_feature": "3", 119 | "seat_types": "OM9", 120 | "location_code": "P2", 121 | "from_station_no": "01", 122 | "to_station_no": "06", 123 | "control_day": 29, 124 | "sale_time": "0800", 125 | "is_support_card": "0", 126 | "controlled_train_flag": "0", 127 | "controlled_train_message": "正常车次,不受控", 128 | "train_type_code": "2", 129 | "start_province_code": "31", 130 | "start_city_code": "0357", 131 | "end_province_code": "33", 132 | "end_city_code": "0712", 133 | "yz_num": "--", 134 | "rz_num": "--", 135 | "yw_num": "--", 136 | "rw_num": "--", 137 | "gr_num": "--", 138 | "zy_num": "无", 139 | "ze_num": "无", 140 | "tz_num": "--", 141 | "gg_num": "--", 142 | "yb_num": "--", 143 | "wz_num": "--", 144 | "qt_num": "--", 145 | "swz_num": "1" 146 | }, 147 | "secretStr": "JjGzeN7ylJHEQP%2BV5SJrrRMAYJHWAIa%2Br0ajzk82EdzFbABAe6ePuEJKqxjxJe2Eas8uwD4ygP1j%0Avgtn%2F4o4c60VBBTn80KZ7wVd2lmzRGO7WSHNsp%2F%2F0OH7VLER0lhKFd3%2BZbu6gRG%2BeBv%2FJuIJkFUj%0A71KnMlVLZQtNXuZR6PnXcLc3pcb7eflTamalptsn9Nbb5oiya8YM2vKGvrqmYoKY2CJlAFv8ZObF%0AYdKyo4tYLnJkMfZdyCSTDq%2F17ZLvwaK2eOMukVZUAZ6fzhPNRqFsC6L%2FXJpTXCZcBJAW%2Fh17XSQN%0AWImvMFtTCtY%3D", 148 | "buttonTextInfo": "预订" 149 | } 150 | ], 151 | "messages": [], 152 | "validateMessages": {} 153 | } 154 | 155 | 解析: 156 | 157 | - `train_no`:车次码(用作票价查询) 158 | - `station_train_code`:车次号 159 | - `from_station_name`:出发站 160 | - `from_station_telecode`:出发站码 161 | - `to_station_name`:到达站 162 | - `to_station_telecode`:到达站码 163 | - `start_station_name`:始发站 164 | - `start_station_telecode`:始发站码 165 | - `end_station_name`:终点站 166 | - `end_station_telecode`:终点站码 167 | - `start_time`:出发时间 168 | - `arrive_time`:到达时间 169 | - `day_difference`:历时天数 170 | - `train_class_name`:??? 171 | - `lishi`:历时小时分钟数 172 | - `canWebBuy`:`Y` 可以预订、`N` 不可预订、`IS_TIME_NOT_BUY` 没到预定时间 173 | - `lishiValue`:历时分钟数 174 | - `yp_info`:`一票`信息,应该是`智行`火车票所需要的信息 175 | - `control_train_day`:??? 176 | - `start_train_date`:发车日 177 | - `seat_types`:座位类型(用作票价查询) 178 | - `from_station_no`:出发站码(用作票价查询) 179 | - `to_station_no`:到达站码(用作票价查询) 180 | - `swz_num`:商务座 181 | - `tz_num`:特等座 182 | - `zy_num`:一等座数 183 | - `ze_num`:二等座数 184 | - `gr_num`:高级软卧数 185 | - `rw_num`:软卧数 186 | - `yw_num`:硬卧数 187 | - `rz_num`:软座数 188 | - `yz_num`:硬座数 189 | - `wz_num`:无座数 190 | - `qt_num`:其他座数 191 | - `gg_num`:??? 192 | - `secretStr`:车票预订标识 193 | 194 |

票价

195 | 196 | 请求方式:`GET` 197 | 198 | url:`https://kyfw.12306.cn/otn/leftTicket/queryTicketPrice` 199 | 200 | 参数: 201 | 202 | | 参数名 | 参数意义 | 参数类型 | 203 | | ------------- |:-------------:| -----:| 204 | | train_no | 车次码 | String | 205 | | from_station_no | 出发站码 | int | 206 | | to_station_no | 到达站码 | int | 207 | | seat_types | 座位类型 | String | 208 | | train_date | 乘车日期,`yyyy-MM-dd` 格式(例:2017-02-05) | String | 209 | 210 | url 示例:[`https://kyfw.12306.cn/otn/leftTicket/queryTicketPrice?train_no=5l0000G13061&from_station_no=01&to_station_no=12&seat_types=O9M&train_date=2017-02-05`](https://kyfw.12306.cn/otn/leftTicket/queryTicketPrice?train_no=5l0000G13061&from_station_no=01&to_station_no=12&seat_types=O9M&train_date=2017-02-05) 211 | 212 | json 示例: 213 | 214 | { 215 | "validateMessagesShowId": "_validatorMessage", 216 | "status": true, 217 | "httpstatus": 200, 218 | "data": { 219 | "3": "2835", 220 | "A1": "¥156.5", 221 | "1": "1565", 222 | "A4": "¥455.5", 223 | "A3": "¥283.5", 224 | "4": "4555", 225 | "OT": [], 226 | "WZ": "¥156.5", 227 | "train_no": "5500001462H1" 228 | }, 229 | "messages": [], 230 | "validateMessages": {} 231 | } 232 | 233 | 解析: 234 | 235 | - `MIN`:其他座票价 236 | - `WZ`:无座票价 237 | - `A1`:硬座票价 238 | - `A2`:软座票价 239 | - `A3`:硬卧票价 240 | - `A4`:软卧票价 241 | - `A6`:高级软卧 242 | - `O`:二等座票价 243 | - `M`:一等座票价 244 | - `P`:特等座票价 245 | - `A9`:商务座票价 246 | - `train_no`:车次代码 -------------------------------------------------------------------------------- /CenterWeather.md: -------------------------------------------------------------------------------- 1 | - [中央天气预报](#weather) 2 | - [中央天气预报细节](#weather_details) 3 | 4 |

中央天气预报

5 | 6 | url:http://tj.nineton.cn/Heart/index/all 7 | 8 | 拼接参数: 9 | 10 | - `city`:城市码,查看数据库文件中的 `townId`,[戳我查看数据库文件](https://github.com/jokermonn/-Api/blob/master/CenterWeatherCityCode.db),另外我也转换了一份 json 文件,也是同样可以的,[戳我查看](https://github.com/jokermonn/-Api/blob/master/CenterWeatherCityCode.json) 11 | - `language`:固定值 `zh-chs` 12 | - `unit`:温度单位固定值 `c`。可不填。也可省略该参数 13 | - `aqi`:固定值 `city`。可不填。也可省略该参数 14 | - `alarm`:固定值 `1`。可不填。也可省略该参数 15 | - `key`:秘钥,固定值 `78928e706123c1a8f1766f062bc8676b`。可不填。也可省略该参数 16 | 17 | url 示例:[`http://tj.nineton.cn/Heart/index/all?city=CHSH000000&language=zh-chs&unit=c&aqi=city&alarm=1&key=78928e706123c1a8f1766f062bc8676b`](http://tj.nineton.cn/Heart/index/all?city=CHSH000000&language=zh-chs&unit=c&aqi=city&alarm=1&key=78928e706123c1a8f1766f062bc8676b) 或 [`http://tj.nineton.cn/Heart/index/all?city=CHSH000000&language=&unit=&aqi=&alarm=&key=`](http://tj.nineton.cn/Heart/index/all?city=CHSH000000&language=&unit=&aqi=&alarm=&key=) 或 [`http://tj.nineton.cn/Heart/index/all?city=CHSH000000`](http://tj.nineton.cn/Heart/index/all?city=CHSH000000&language=&unit=&aqi=&alarm=&key=) 18 | 19 | json 示例: 20 | 21 | { 22 | "status": "OK", 23 | "weather": [ 24 | { 25 | "city_name": "佛山", 26 | "city_id": "CHGD070000", 27 | "last_update": "2017-02-19T12:15:00+08:00", 28 | "now": { 29 | "text": "阴", 30 | "code": "9", 31 | "temperature": "21", 32 | "feels_like": "21", 33 | "wind_direction": "南", 34 | "wind_speed": "10.44", 35 | "wind_scale": "2", 36 | "humidity": "58", 37 | "visibility": "13.8", 38 | "pressure": "1014", 39 | "pressure_rising": "未知", 40 | "air_quality": { 41 | "city": { 42 | "aqi": "64", 43 | "pm25": "46", 44 | "pm10": "74", 45 | "so2": "9", 46 | "no2": "28", 47 | "co": "0.575", 48 | "o3": "108", 49 | "last_update": "2017-02-19T12:00:00+08:00", 50 | "quality": "良" 51 | }, 52 | "stations": null 53 | } 54 | }, 55 | "today": { 56 | "sunrise": "06:58 AM", 57 | "sunset": "6:27 PM", 58 | "suggestion": { 59 | "dressing": { 60 | "brief": "单衣类", 61 | "details": "建议着长袖T恤、衬衫加单裤等服装。年老体弱者宜着针织长袖衬衫、马甲和长裤。" 62 | }, 63 | "uv": { 64 | "brief": "最弱", 65 | "details": "属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。" 66 | }, 67 | "car_washing": { 68 | "brief": "不适宜", 69 | "details": "不宜洗车,未来24小时内有雨,如果在此期间洗车,雨水和路上的泥水可能会再次弄脏您的爱车。" 70 | }, 71 | "travel": { 72 | "brief": "适宜", 73 | "details": "天气较好,温度适宜,总体来说还是好天气哦,这样的天气适宜旅游,您可以尽情地享受大自然的风光。" 74 | }, 75 | "flu": { 76 | "brief": "易发期", 77 | "details": "相对今天出现了较大幅度降温,较易发生感冒,体质较弱的朋友请注意适当防护。" 78 | }, 79 | "sport": { 80 | "brief": "比较适宜", 81 | "details": "阴天,较适宜进行各种户内外运动。" 82 | } 83 | } 84 | }, 85 | "future": [ 86 | { 87 | "date": "2017-02-19", 88 | "day": "周日", 89 | "text": "阴/小雨", 90 | "code1": "9", 91 | "code2": "13", 92 | "high": "24", 93 | "low": "18", 94 | "cop": "", 95 | "wind": "微风3级" 96 | }, 97 | { 98 | "date": "2017-02-20", 99 | "day": "周一", 100 | "text": "阴", 101 | "code1": "9", 102 | "code2": "9", 103 | "high": "23", 104 | "low": "18", 105 | "cop": "", 106 | "wind": "微风3级" 107 | }, 108 | { 109 | "date": "2017-02-21", 110 | "day": "周二", 111 | "text": "阵雨", 112 | "code1": "10", 113 | "code2": "10", 114 | "high": "22", 115 | "low": "18", 116 | "cop": "", 117 | "wind": "微风3级" 118 | }, 119 | { 120 | "date": "2017-02-22", 121 | "day": "周三", 122 | "text": "小雨", 123 | "code1": "13", 124 | "code2": "13", 125 | "high": "23", 126 | "low": "13", 127 | "cop": "", 128 | "wind": "微风3级" 129 | }, 130 | { 131 | "date": "2017-02-23", 132 | "day": "周四", 133 | "text": "小雨", 134 | "code1": "13", 135 | "code2": "13", 136 | "high": "20", 137 | "low": "10", 138 | "cop": "", 139 | "wind": "北风4级" 140 | }, 141 | { 142 | "date": "2017-02-24", 143 | "day": "周五", 144 | "text": "小雨", 145 | "code1": "13", 146 | "code2": "13", 147 | "high": "14", 148 | "low": "10", 149 | "cop": "", 150 | "wind": "北风4级" 151 | }, 152 | { 153 | "date": "2017-02-25", 154 | "day": "周六", 155 | "text": "小雨", 156 | "code1": "13", 157 | "code2": "13", 158 | "high": "15", 159 | "low": "10", 160 | "cop": "", 161 | "wind": "微风3级" 162 | }, 163 | { 164 | "date": "2017-02-26", 165 | "day": "周日", 166 | "text": "小雨", 167 | "code1": "13", 168 | "code2": "13", 169 | "high": "15", 170 | "low": "10", 171 | "cop": "", 172 | "wind": "北风3级" 173 | }, 174 | { 175 | "date": "2017-02-27", 176 | "day": "周一", 177 | "text": "小雨/多云", 178 | "code1": "13", 179 | "code2": "4", 180 | "high": "21", 181 | "low": "11", 182 | "cop": "", 183 | "wind": "北风3级" 184 | }, 185 | { 186 | "date": "2017-02-28", 187 | "day": "周二", 188 | "text": "多云", 189 | "code1": "4", 190 | "code2": "4", 191 | "high": "24", 192 | "low": "14", 193 | "cop": "", 194 | "wind": "北风3级" 195 | } 196 | ] 197 | } 198 | ] 199 | } 200 | 201 | 解析: 202 | 203 | - `status`:成功时返回 `OK` 204 | - `weather`:天气信息 205 | - `city_name`:城市名 206 | - `city_id`:城市 id 207 | - `last_update`:上次更新时间 208 | - `now`:现在天气状况 209 | - `text`:天气状况 210 | - `code`:??? 211 | - `temperature`:温度 212 | - `feels_like`:体感温度 213 | - `wind_direction`:风向 214 | - `wind_speed`:风速 215 | - `wind_scale`:风力大小 216 | - `humidity`:空气湿度 217 | - `visibility`:能见度,单位为 km 218 | - `pressure`:气压,单位为 hPa 219 | - `air_quality`:具体空气质量指数 220 | - `aqi`:空气质量指数 221 | - `pm25`:pm2.5指数 222 | - `pm10`:pm10指数 223 | - `so2`:二氧化硫指数 224 | - `no2`:二氧化氮指数 225 | - `co`:一氧化碳指数 226 | - `o3`:臭氧指数 227 | - `last_update`:上次更新时间 228 | - `quality`:空气质量 229 | - `today`:今日天气状况 230 | - `sunrise`:日出时间 231 | - `sunset`:日落时间 232 | - `suggestion`:建议列表 233 | - `dressing`:穿衣信息 234 | - `uv`:紫外线建议 235 | - `car_washing`:洗车信息 236 | - `travel`:旅游信息 237 | - `flu`:流感信息 238 | - `sport`:运动信息 239 | - `brief`:建议、说明 240 | - `details`:具体信息 241 | - `future`:未来天气状况列表 242 | - `date`:日期 243 | - `day`:周几 244 | - `text`:天气状况 245 | - `code1`:??? 246 | - `code2`:??? 247 | - `high`:当日最高气温 248 | - `low`:当日最低气温 249 | - `cop`:??? 250 | - `wind`:风力信息 251 | 252 |

中央天气预报细节

253 | 254 | url:http://tj.nineton.cn/Heart/index/future24h/ 255 | 256 | 拼接参数: 257 | 258 | - `city`:略,同[中央天气预报](#weather) 259 | - `language`:略,同[中央天气预报](#weather) 260 | - `key`:略,同[中央天气预报](#weather) 261 | 262 | url 示例:[`http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000&language=zh-chs&key=36bdd59658111bc23ff2bf9aaf6e345c`](http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000&language=zh-chs&key=36bdd59658111bc23ff2bf9aaf6e345c) 或 [`http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000&language=&key=`](http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000&language=&key=) 或 [`http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000`](http://tj.nineton.cn/Heart/index/future24h/?city=CHSH000000) 263 | 264 | json 示例: 265 | 266 | { 267 | "status": "OK", 268 | "hourly": [ 269 | { 270 | "text": "多云", 271 | "code": "4", 272 | "temperature": "16", 273 | "time": "2017-02-19T13:00:00+08:00" 274 | }, 275 | { 276 | "text": "多云", 277 | "code": "4", 278 | "temperature": "18", 279 | "time": "2017-02-19T14:00:00+08:00" 280 | }, 281 | { 282 | "text": "多云", 283 | "code": "4", 284 | "temperature": "17", 285 | "time": "2017-02-19T15:00:00+08:00" 286 | }, 287 | { 288 | "text": "多云", 289 | "code": "4", 290 | "temperature": "16", 291 | "time": "2017-02-19T16:00:00+08:00" 292 | }, 293 | { 294 | "text": "多云", 295 | "code": "4", 296 | "temperature": "16", 297 | "time": "2017-02-19T17:00:00+08:00" 298 | }, 299 | { 300 | "text": "多云", 301 | "code": "4", 302 | "temperature": "16", 303 | "time": "2017-02-19T18:00:00+08:00" 304 | }, 305 | { 306 | "text": "多云", 307 | "code": "4", 308 | "temperature": "15", 309 | "time": "2017-02-19T19:00:00+08:00" 310 | }, 311 | { 312 | "text": "多云", 313 | "code": "4", 314 | "temperature": "15", 315 | "time": "2017-02-19T20:00:00+08:00" 316 | }, 317 | { 318 | "text": "多云", 319 | "code": "4", 320 | "temperature": "15", 321 | "time": "2017-02-19T21:00:00+08:00" 322 | }, 323 | { 324 | "text": "多云", 325 | "code": "4", 326 | "temperature": "14", 327 | "time": "2017-02-19T22:00:00+08:00" 328 | }, 329 | { 330 | "text": "多云", 331 | "code": "4", 332 | "temperature": "14", 333 | "time": "2017-02-19T23:00:00+08:00" 334 | }, 335 | { 336 | "text": "多云", 337 | "code": "4", 338 | "temperature": "14", 339 | "time": "2017-02-20T00:00:00+08:00" 340 | }, 341 | { 342 | "text": "多云", 343 | "code": "4", 344 | "temperature": "15", 345 | "time": "2017-02-20T01:00:00+08:00" 346 | }, 347 | { 348 | "text": "小雨", 349 | "code": "13", 350 | "temperature": "15", 351 | "time": "2017-02-20T02:00:00+08:00" 352 | }, 353 | { 354 | "text": "小雨", 355 | "code": "13", 356 | "temperature": "15", 357 | "time": "2017-02-20T03:00:00+08:00" 358 | }, 359 | { 360 | "text": "小雨", 361 | "code": "13", 362 | "temperature": "15", 363 | "time": "2017-02-20T04:00:00+08:00" 364 | }, 365 | { 366 | "text": "中雨", 367 | "code": "14", 368 | "temperature": "15", 369 | "time": "2017-02-20T05:00:00+08:00" 370 | }, 371 | { 372 | "text": "中雨", 373 | "code": "14", 374 | "temperature": "13", 375 | "time": "2017-02-20T06:00:00+08:00" 376 | }, 377 | { 378 | "text": "中雨", 379 | "code": "14", 380 | "temperature": "10", 381 | "time": "2017-02-20T07:00:00+08:00" 382 | }, 383 | { 384 | "text": "小雨", 385 | "code": "13", 386 | "temperature": "8", 387 | "time": "2017-02-20T08:00:00+08:00" 388 | }, 389 | { 390 | "text": "小雨", 391 | "code": "13", 392 | "temperature": "6", 393 | "time": "2017-02-20T09:00:00+08:00" 394 | }, 395 | { 396 | "text": "小雨", 397 | "code": "13", 398 | "temperature": "5", 399 | "time": "2017-02-20T10:00:00+08:00" 400 | }, 401 | { 402 | "text": "小雨", 403 | "code": "13", 404 | "temperature": "5", 405 | "time": "2017-02-20T11:00:00+08:00" 406 | }, 407 | { 408 | "text": "小雨", 409 | "code": "13", 410 | "temperature": "6", 411 | "time": "2017-02-20T12:00:00+08:00" 412 | } 413 | ] 414 | } 415 | 416 | 解析: 417 | 418 | - `status`:成功时返回 `OK` 419 | - `hourly`:具体小时天气信息列表 420 | - `text`:天气状况 421 | - `code`:??? 422 | - `temperature`:温度 423 | - `time`:时间 424 | -------------------------------------------------------------------------------- /CenterWeatherCityCode.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wulh8410/WebAPI/d499ae0fe2ba88b554db87130ee10b93ffd0427a/CenterWeatherCityCode.db -------------------------------------------------------------------------------- /ExpressDelivery.md: -------------------------------------------------------------------------------- 1 | # 快递网 # 2 | 3 | [戳我查看快递码](https://github.com/jokermonn/-Api/blob/master/ExpressDeliveryCode.json) 4 | 5 | url:`http://www.kuaidi.com/index-ajaxselectcourierinfo- + 运单号 + - + 快递码 + .html` 6 | 7 | url 示例:[`http://www.kuaidi.com/index-ajaxselectcourierinfo-1202247993797-yunda.html`](http://www.kuaidi.com/index-ajaxselectcourierinfo-1202247993797-yunda.html)(`韵达`单号为`1202247993797`的快递) 8 | 9 | json 示例: 10 | 11 | { 12 | "success": true, 13 | "ico": "/data/upload/201407/yd_logo.gif", 14 | "phone": "95546", 15 | "url": "http://www.yundaex.com", 16 | "status": 6, 17 | "companytype": "yunda", 18 | "nu": "1202247993797", 19 | "company": "韵达快递", 20 | "reason": "", 21 | "data": [ 22 | { 23 | "time": "2016-08-21 19:47:14", 24 | "context": "到达:贵州都匀市公司 由 已签收 签收" 25 | }, 26 | { 27 | "time": "2016-08-21 09:45:36", 28 | "context": "到达:贵州都匀市公司 指定:小围寨分部(1111-1111111) 派送" 29 | }, 30 | { 31 | "time": "2016-08-20 06:32:38", 32 | "context": "到达:贵州贵阳分拨中心 发往:贵州都匀市公司" 33 | }, 34 | { 35 | "time": "2016-08-20 06:17:24", 36 | "context": "到达:贵州贵阳分拨中心 上级站点:福建晋江分拨中心" 37 | }, 38 | { 39 | "time": "2016-08-18 21:48:53", 40 | "context": "到达:福建晋江分拨中心 发往:贵州贵阳分拨中心" 41 | }, 42 | { 43 | "time": "2016-08-18 21:46:25", 44 | "context": "到达:福建晋江分拨中心" 45 | }, 46 | { 47 | "time": "2016-08-18 08:30:44", 48 | "context": "到达:福建市场部台江服务部 已收件" 49 | }, 50 | { 51 | "time": "2016-08-18 06:48:19", 52 | "context": "到达:福建市场部台江服务部 发往:贵州贵阳分拨中心" 53 | }, 54 | { 55 | "time": "2016-08-18 06:37:54", 56 | "context": "到达:福建市场部台江服务部 已收件" 57 | }, 58 | { 59 | "time": "2016-08-18 05:51:57", 60 | "context": "到达:福建市场部台江服务部 已收件" 61 | } 62 | ], 63 | "time": "", 64 | "rank": "2.3", 65 | "exceed": "", 66 | "timeused": "--" 67 | } 68 | 69 | 解析: 70 | 71 | - `success`:是否成功,取值 `true` 或 `false` 72 | - `status`:`6`表示成功,`0`表示失败 73 | - `companytype`:快递公司拼音 74 | - `nu`:快递单号 75 | - `company`:快递公司 76 | - `data`:具体数据 77 | - `time`:收货时间 78 | - `context`:收货信息 79 | - `rank`:快递公司评分 80 | - `timeused`:花费时间(以天数为单位) 81 | - `exceed`:超重??? 82 | -------------------------------------------------------------------------------- /ExpressDelivery100.json: -------------------------------------------------------------------------------- 1 | { 2 | "AOL澳通速递": "aolau", 3 | "A2U速递": "a2u", 4 | "AAE快递": "aae", 5 | "安能物流": "annengwuliu", 6 | "安迅物流": "anxl", 7 | "澳邮中国快运": "auexpress", 8 | "安鲜达": "exfresh", 9 | "安捷物流": "anjie88", 10 | "BCWELT": "bcwelt", 11 | "百世快运": "baishiwuliu", 12 | "百世快递": "huitongkuaidi", 13 | "包裹/平邮/挂号信": "youzhengguonei", 14 | "百福东方物流": "baifudongfang", 15 | "邦送物流": "bangsongwuliu", 16 | "北青小红帽": "xiaohongmao", 17 | "宝凯物流": "lbbk", 18 | "百千诚物流": "bqcwl", 19 | "博源恒通": "byht", 20 | "百成大达物流": "idada", 21 | "百腾物流": "baitengwuliu", 22 | "巴伦支快递": "balunzhi", 23 | "笨鸟海淘": "birdex", 24 | "百事亨通": "bsht", 25 | "奔腾物流": "benteng", 26 | "布谷鸟速递": "cuckooexpess", 27 | "邦工快运": "bgky100", 28 | "堡昕德速递": "bosind", 29 | "斑马物联网": "banma", 30 | "CE易欧通国际速递": "cloudexpress", 31 | "COE(东方快递)": "coe", 32 | "城市100": "city100", 33 | "城际速递": "chengjisudi", 34 | "成都立即送": "lijisong", 35 | "出口易": "chukou1", 36 | "晟邦物流": "nanjingshengbang", 37 | "程光快递": "flyway", 38 | "传喜物流": "chuanxiwuliu", 39 | "钏博物流": "cbo56", 40 | "城铁物流": "cex", 41 | "DHL中国": "dhl", 42 | "DHL国际": "dhlen", 43 | "DHL德国": "dhlde", 44 | "德邦": "debangwuliu", 45 | "大田物流": "datianwuliu", 46 | "东方快递": "coe", 47 | "递四方": "disifang", 48 | "大洋物流": "dayangwuliu", 49 | "店通快递": "diantongkuaidi", 50 | "德创物流": "dechuangwuliu", 51 | "东红物流": "donghong", 52 | "D速物流": "dsukuaidi", 53 | "东瀚物流": "donghanwl", 54 | "达方物流": "dfpost", 55 | "东骏快捷物流": "dongjun", 56 | "叮咚澳洲转运": "dindon", 57 | "大众佐川急便": "dazhong", 58 | "德方物流": "ahdf", 59 | "德中快递": "decnlh", 60 | "德坤供应链": "dekuncn", 61 | "达速物流": "dasu", 62 | "德豪驿": "dehaoyi", 63 | "DHL Paket": "dhlpaket", 64 | "德国优拜物流": "ubuy", 65 | "德国雄鹰速递": "adlerlogi", 66 | "德国云快递": "yunexpress", 67 | "EU-EXPRESS": "euexpress", 68 | "EMS快递查询": "ems", 69 | "EMS国际快递查询": "emsguoji", 70 | "俄顺达": "eshunda", 71 | "EWE全球快递": "ewe", 72 | "FedEx快递查询": "fedex", 73 | "FedEx美国": "fedexus", 74 | "FedEx英国": "fedexuk", 75 | "FOX国际速递": "fox", 76 | "凡客如风达": "rufengda", 77 | "飞康达物流": "feikangda", 78 | "飞豹快递": "feibaokuaidi", 79 | "飞狐快递": "feihukuaidi", 80 | "凡宇速递": "fanyukuaidi", 81 | "颿达国际快递": "fandaguoji", 82 | "飞远配送": "feiyuanvipshop", 83 | "飞鹰物流": "hnfy", 84 | "风行天下": "fengxingtianxia", 85 | "飞力士物流": "flysman", 86 | "飞邦快递": "fbkd", 87 | "丰程物流": "sccod", 88 | "泛远国际物流": "farlogistis", 89 | "疯狂快递": "crazyexpress", 90 | "法翔速运": "ftlexpress", 91 | "富腾达快递": "ftd", 92 | "GLS": "gls", 93 | "GSM": "gsm", 94 | "GATI快递": "gaticn", 95 | "GTS快递": "gts", 96 | "挂号信/国内邮件": "youzhengguonei", 97 | "国通快递": "guotongkuaidi", 98 | "国际邮件查询": "youzhengguoji", 99 | "港中能达物流": "ganzhongnengda", 100 | "港快速递": "gdkd", 101 | "共速达": "gongsuda", 102 | "广通速递(山东)": "gtongsudi", 103 | "高铁速递": "hre", 104 | "冠达快递": "gda", 105 | "哥士传奇速递": "gscq365", 106 | "冠捷物流": "gjwl", 107 | "国晶物流": "xdshipping", 108 | "华宇物流": "tiandihuayu", 109 | "恒路物流": "hengluwuliu", 110 | "好来运快递": "hlyex", 111 | "华夏龙物流": "huaxialongwuliu", 112 | "海航天天": "tiantian", 113 | "河北建华": "hebeijianhua", 114 | "海盟速递": "haimengsudi", 115 | "华企快运": "huaqikuaiyun", 116 | "昊盛物流": "haoshengwuliu", 117 | "户通物流": "hutongwuliu", 118 | "华航快递": "hzpl", 119 | "黄马甲快递": "huangmajia", 120 | "合众速递(UCS)": "ucs", 121 | "皇家物流": "pfcexpress", 122 | "伙伴物流": "huoban", 123 | "红马速递": "nedahm", 124 | "汇文配送": "huiwen", 125 | "华赫物流": "nmhuahe", 126 | "猴急送": "hjs", 127 | "航宇快递": "hangyu", 128 | "辉联物流": "huilian", 129 | "环球速运": "huanqiu", 130 | "华达快运": "huada", 131 | "华通务达物流": "htwd", 132 | "海派通": "hipito", 133 | "环球通达": "hqtd", 134 | "航空快递": "airgtc", 135 | "好又快物流": "haoyoukuai", 136 | "韩润物流": "hanrun", 137 | "河南次晨达": "ccd", 138 | "和丰同城": "hfwuxi", 139 | "荷兰 Sky Post": "skypost", 140 | "鸿讯物流": "hongxun", 141 | "宏捷国际物流": "hongjie", 142 | "汇通天下物流": "httx56", 143 | "恒通快递": "lqht", 144 | "黑狗物流": "higo", 145 | "恒宇运通": "hyytes", 146 | "恒瑞物流": "hengrui56", 147 | "环创物流": "ghl", 148 | "河南全速通": "hnqst", 149 | "佳吉物流": "jiajiwuliu", 150 | "佳怡物流": "jiayiwuliu", 151 | "加运美快递": "jiayunmeiwuliu", 152 | "急先达物流": "jixianda", 153 | "京广速递快件": "jinguangsudikuaijian", 154 | "晋越快递": "jinyuekuaidi", 155 | "京东快递": "jd", 156 | "捷特快递": "jietekuaidi", 157 | "久易快递": "jiuyicn", 158 | "九曳供应链": "jiuyescm", 159 | "骏丰国际速递": "junfengguoji", 160 | "佳家通": "jiajiatong56", 161 | "吉日优派": "jrypex", 162 | "锦程国际物流": "jinchengwuliu", 163 | "景光物流": "jgwl", 164 | "急顺通": "pzhjst", 165 | "捷网俄全通": "ruexp", 166 | "嘉里大通": "jialidatong", 167 | "金马甲": "jmjss", 168 | "佳成快递": "jiacheng", 169 | "骏绅物流": "jsexpress", 170 | "锦程快递": "hrex", 171 | "快捷快递": "kuaijiesudi", 172 | "康力物流": "kangliwuliu", 173 | "跨越速运": "kuayue", 174 | "快优达速递": "kuaiyouda", 175 | "快淘快递": "kuaitao", 176 | "开心快递": "happylink", 177 | "联邦快递": "lianbangkuaidi", 178 | "联昊通物流": "lianhaowuliu", 179 | "龙邦速递": "longbanwuliu", 180 | "乐捷递": "lejiedi", 181 | "立即送": "lijisong", 182 | "蓝弧快递": "lanhukuaidi", 183 | "乐天速递": "ltexp", 184 | "鲁通快运": "lutong", 185 | "乐递供应链": "ledii", 186 | "论道国际物流": "lundao", 187 | "林安物流": "lasy56", 188 | "ME物流": "macroexpressco", 189 | "民航快递": "minghangkuaidi", 190 | "美国快递": "meiguokuaidi", 191 | "门对门": "menduimen", 192 | "明亮物流": "mingliangwuliu", 193 | "民邦速递": "minbangsudi", 194 | "闽盛快递": "minshengkuaidi", 195 | "麦力快递": "mailikuaidi", 196 | "木春货运": "mchy", 197 | "美快国际物流": "meiquick", 198 | "美通快递": "valueway", 199 | "马珂博逻": "cnmcpl", 200 | "能达速递": "ganzhongnengda", 201 | "偌亚奥国际": "nuoyaao", 202 | "诺尔国际物流": "nuoer", 203 | "尼尔快递": "nell", 204 | "OCS": "ocs", 205 | "欧亚专线": "euasia", 206 | "PCA Express": "pcaexpress", 207 | "平安达腾飞": "pingandatengfei", 208 | "陪行物流": "peixingwuliu", 209 | "品骏快递": "pjbest", 210 | "鹏远国际速递": "pengyuanexpress", 211 | "全峰快递": "quanfengkuaidi", 212 | "全一快递": "quanyikuaidi", 213 | "全日通快递": "quanritongkuaidi", 214 | "全晨快递": "quanchenkuaidi", 215 | "7天连锁物流": "sevendays", 216 | "秦邦快运": "qbexpress", 217 | "全信通快递": "quanxintong", 218 | "全速通国际快递": "quansutong", 219 | "秦远物流": "qinyuan", 220 | "启辰国际物流": "qichen", 221 | "全速快运": "quansu", 222 | "全之鑫物流": "qzx56", 223 | "千顺快递": "qskdyxgs", 224 | "全时速运": "runhengfeng", 225 | "如风达快递": "rufengda", 226 | "日昱物流": "riyuwuliu", 227 | "瑞丰速递": "rfsd", 228 | "日日顺物流": "rrs", 229 | "日益通速递": "rytsd", 230 | "瑞达国际速递": "ruidaex", 231 | "日日顺快线": "rrskx", 232 | "容智物流速运": "gdrz58", 233 | "顺丰速运": "shunfeng", 234 | "申通快递": "shentong", 235 | "速尔快递": "suer", 236 | "山东海红": "haihongwangsong", 237 | "盛辉物流": "shenghuiwuliu", 238 | "世运快递": "shiyunkuaidi", 239 | "盛丰物流": "shengfengwuliu", 240 | "上大物流": "shangda", 241 | "三态速递": "santaisudi", 242 | "赛澳递": "saiaodi", 243 | "申通E物流": "shentong", 244 | "圣安物流": "shenganwuliu", 245 | "山西红马甲": "sxhongmajia", 246 | "穗佳物流": "suijiawuliu", 247 | "沈阳佳惠尔": "syjiahuier", 248 | "上海林道货运": "shlindao", 249 | "十方通物流": "sfift", 250 | "山东广通速递": "gtongsudi", 251 | "顺捷丰达": "shunjiefengda", 252 | "速必达物流": "subida", 253 | "速通成达物流": "htwd", 254 | "速腾物流": "suteng", 255 | "速方国际物流": "bphchina", 256 | "顺通快递": "stkd", 257 | "速递中国": "sendtochina", 258 | "苏宁快递": "suning", 259 | "四海快递": "sihaiet", 260 | "首通快运": "staky", 261 | "顺时达物流": "hnssd56", 262 | "Superb Grace": "superb", 263 | "圣飞捷快递": "sfjhd", 264 | "上海航瑞货运": "hangrui", 265 | "嗖一下同城快递": "sofast56", 266 | "天天快递": "tiantian", 267 | "TNT快递": "tnt", 268 | "天地华宇": "tiandihuayu", 269 | "通和天下": "tonghetianxia", 270 | "天纵物流": "tianzong", 271 | "同舟行物流": "chinatzx", 272 | "腾达速递": "nntengda", 273 | "泰国138": "sd138", 274 | "通达兴物流": "tongdaxing", 275 | "天联快运": "tlky", 276 | "途鲜物流": "ibenben", 277 | "淘韩国际快递": "krtao", 278 | "特急送": "lntjs", 279 | "UPS快递查询": "ups", 280 | "UC优速快递": "youshuwuliu", 281 | "UCS(合众速递)": "ucs", 282 | "USPS美国邮政": "usps", 283 | "UEQ快递": "ueq", 284 | "万象物流": "wanxiangwuliu", 285 | "微特派": "weitepai", 286 | "万家物流": "wanjiawuliu", 287 | "万博快递": "wanboex", 288 | "万家通": "timedg", 289 | "威时沛运": "wtdchina", 290 | "微转运": "wzhaunyun", 291 | "万通快递": "gswtkd", 292 | "渥途国际速运": "wotu", 293 | "豌豆物流": "wandougongzhu", 294 | "万家康物流": "wjkwl", 295 | "希优特快递": "xiyoutekuaidi", 296 | "新邦物流": "xinbangwuliu", 297 | "信丰物流": "xinfengwuliu", 298 | "新蛋物流": "neweggozzo", 299 | "祥龙运通物流": "xianglongyuntong", 300 | "西安城联速递": "xianchengliansudi", 301 | "喜来快递": "xilaikd", 302 | "鑫世锐达": "xsrd", 303 | "鑫通宝物流": "xtb", 304 | "信天捷快递": "xintianjie", 305 | "西安胜峰": "xaetc", 306 | "新顺丰(NSF)": "nsf", 307 | "先锋快递": "xianfeng", 308 | "新速航": "sunspeedy", 309 | "西邮寄": "xipost", 310 | "信联通": "sinatone", 311 | "新杰物流": "sunjex", 312 | "心怡物流": "alog", 313 | "新时速物流": "csxss", 314 | "翔腾物流": "xiangteng", 315 | "西翼物流": "westwing", 316 | "小熊物流": "littlebearbear", 317 | "鑫和高铁快运": "gaotieex", 318 | "圆通速递": "yuantong", 319 | "韵达快递": "yunda", 320 | "韵达美国件": "yundaexus", 321 | "邮政国内": "youzhengguonei", 322 | "邮政国际": "youzhengguoji", 323 | "邮政EMS速递": "ems", 324 | "运通快递": "yuntongkuaidi", 325 | "宇鑫物流": "yuxinwuliu", 326 | "远成物流": "yuanchengwuliu", 327 | "优速快递": "youshuwuliu", 328 | "越丰物流": "yuefengwuliu", 329 | "源安达快递": "yuananda", 330 | "原飞航物流": "yuanfeihangwuliu", 331 | "银捷速递": "yinjiesudi", 332 | "一统飞鸿": "yitongfeihong", 333 | "亚风速递": "yafengsudi", 334 | "易通达": "yitongda", 335 | "邮必佳": "youbijia", 336 | "一柒物流": "yiqiguojiwuliu", 337 | "音素快运": "yinsu", 338 | "亿领速运": "yilingsuyun", 339 | "煜嘉物流": "yujiawuliu", 340 | "英脉物流": "gml", 341 | "云豹国际货运": "leopard", 342 | "云南中诚": "czwlyn", 343 | "优配速运": "sdyoupei", 344 | "永昌物流": "yongchang", 345 | "御风速运": "yufeng", 346 | "亚马逊物流": "yamaxunwuliu", 347 | "优速通达": "yousutongda", 348 | "亿顺航": "yishunhang", 349 | "永旺达快递": "yongwangda", 350 | "易客满": "ecmscn", 351 | "英超物流": "yingchao", 352 | "益递物流": "edlogistics", 353 | "远洋国际": "yyexpress", 354 | "一号仓": "onehcang", 355 | "远成快运": "ycgky", 356 | "一号线": "lineone", 357 | "壹品速递": "ypsd", 358 | "易达通快递": "qexpress", 359 | "鹰运国际速递": "vipexpress", 360 | "YLTD": "el56", 361 | "一运全成物流": "yyqc56", 362 | "韵丰物流": "yunfeng56", 363 | "驿扬国际速运": "iyoungspeed", 364 | "一站通快递": "zgyzt", 365 | "易优包裹": "eupackage", 366 | "云达通": "ydglobe", 367 | "运东西": "yundx", 368 | "洋包裹": "yangbaoguo", 369 | "优联吉运": "uluckex", 370 | "优邦速运": "ubonex", 371 | "玥玛速运": "yue777", 372 | "远为快递": "ywexpress", 373 | "易转运": "ezhuanyuan", 374 | "中通快递": "zhongtong", 375 | "宅急送": "zhaijisong", 376 | "中铁快运": "ztky", 377 | "中铁物流": "zhongtiewuliu", 378 | "中邮物流": "zhongyouwuliu", 379 | "中国东方(COE)": "coe", 380 | "芝麻开门": "zhimakaimen", 381 | "中国邮政快递": "youzhengguonei", 382 | "郑州建华": "zhengzhoujianhua", 383 | "中速快件": "zhongsukuaidi", 384 | "中天万运": "zhongtianwanyun", 385 | "中睿速递": "zhongruisudi", 386 | "中外运速递": "zhongwaiyun", 387 | "增益速递": "zengyisudi", 388 | "郑州速捷": "sujievip", 389 | "智通物流": "ztong", 390 | "至诚通达快递": "zhichengtongda", 391 | "众辉达物流": "zhdwl", 392 | "直邮易": "kuachangwuliu", 393 | "中运全速": "topspeedex", 394 | "中欧快运": "otobv", 395 | "准实快运": "zsky123", 396 | "中国翼": "cnws", 397 | "中宇天地": "zytdscm", 398 | "转运四方": "zhuanyunsifang", 399 | "卓烨快递": "hrbzykd" 400 | } -------------------------------------------------------------------------------- /ExpressDelivery100.md: -------------------------------------------------------------------------------- 1 | # 快递100 # 2 | 3 | url:`http://www.kuaidi100.com/query` 4 | 5 | 拼接参数: 6 | 7 | | 参数名称 | 参数取值 | 参数类型 | 8 | | ------------- |:-------------:| -----:| 9 | | type | 快递码,请参考[快递100码](https://github.com/jokermonn/-Api/blob/master/ExpressDelivery100Code.json) | String | 10 | | postid | 快递单号 | String | 11 | | id | 未知,可为空 | String | 12 | | valicode | 未知,可为空 | String | 13 | | temp | 未知,可为空 | String | 14 | 15 | url 示例:[`https://www.kuaidi100.com/query?type=yuantong&postid=2234014274&id=1&valicode=&temp=`](https://www.kuaidi100.com/query?type=yuantong&postid=2234014274&id=1&valicode=&temp=)(`圆通`单号为`2234014274`的快递,不过快递已经过期了,所以显示不了信息,可以自行套用快递单号) 16 | 17 | 请求方式:`GET` 18 | 19 | json 示例: 20 | 21 | { 22 | "message": "ok", 23 | "nu": "2234014274", 24 | "ischeck": "1", 25 | "condition": "F00", 26 | "com": "yuantong", 27 | "status": "200", 28 | "state": "3", 29 | "data": [ 30 | { 31 | "time": "2016-11-26 19:10:30", 32 | "ftime": "2016-11-26 19:10:30", 33 | "context": "客户 签收人 : 本人签收 已签收 感谢使用圆通速递,期待再次为您服务", 34 | "location": null 35 | }, 36 | { 37 | "time": "2016-11-22 18:19:03", 38 | "ftime": "2016-11-22 18:19:03", 39 | "context": "派送不成功,政府机关、学校等特殊单位,正在安排处理中。", 40 | "location": null 41 | }, 42 | { 43 | "time": "2016-11-22 14:20:50", 44 | "ftime": "2016-11-22 14:20:50", 45 | "context": "北京大学 已签收", 46 | "location": null 47 | }, 48 | { 49 | "time": "2016-11-22 10:33:25", 50 | "ftime": "2016-11-22 10:33:25", 51 | "context": "北京七道堰 已发出,下一站 北京大学", 52 | "location": null 53 | }, 54 | { 55 | "time": "2016-11-22 10:27:47", 56 | "ftime": "2016-11-22 10:27:47", 57 | "context": "北京六和塔 已收入", 58 | "location": null 59 | }, 60 | { 61 | "time": "2016-11-22 16:53:18", 62 | "ftime": "2016-11-22 16:53:18", 63 | "context": "浙江省五道口 已发出,下一站 北京转运中心", 64 | "location": null 65 | }, 66 | { 67 | "time": "2016-11-22 00:33:51", 68 | "ftime": "2016-11-22 00:33:51", 69 | "context": "浙江省四码头 已收入", 70 | "location": null 71 | }, 72 | { 73 | "time": "2016-11-11 23:53:09", 74 | "ftime": "2016-11-11 23:53:09", 75 | "context": "浙江省三里屯 已发出,下一站 浙江省金华市义乌市", 76 | "location": null 77 | }, 78 | { 79 | "time": "2016-11-11 20:04:10", 80 | "ftime": "2016-11-11 20:04:10", 81 | "context": "浙江省二亩地 已打包", 82 | "location": null 83 | }, 84 | { 85 | "time": "2016-11-1 18:11:16", 86 | "ftime": "2016-11-11 18:11:16", 87 | "context": "浙江省一条街 已揽收", 88 | "location": null 89 | } 90 | ] 91 | } 92 | 93 | 解析: 94 | 95 | - `message`:`ok` 则表示没有问题,否则携带错误信息 96 | - `nu`:运单号 97 | - `ischeck`:`1`表示成功,`0`表示错误 98 | - `com`:快递拼音 99 | - `data`:具体到达的派送点,逆序 100 | - `time`:到达时间 101 | - `ftime`:到达时间 102 | - `context`:到达地点具体信息 103 | - `location`:到达地点,但取值一直为 `null` -------------------------------------------------------------------------------- /ExpressDelivery100Code.json: -------------------------------------------------------------------------------- 1 | { 2 | "AOL澳通速递": "aolau", 3 | "A2U速递": "a2u", 4 | "AAE快递": "aae", 5 | "安能物流": "annengwuliu", 6 | "安迅物流": "anxl", 7 | "澳邮中国快运": "auexpress", 8 | "安鲜达": "exfresh", 9 | "安捷物流": "anjie88", 10 | "BCWELT": "bcwelt", 11 | "百世快运": "baishiwuliu", 12 | "百世快递": "huitongkuaidi", 13 | "包裹/平邮/挂号信": "youzhengguonei", 14 | "百福东方物流": "baifudongfang", 15 | "邦送物流": "bangsongwuliu", 16 | "北青小红帽": "xiaohongmao", 17 | "宝凯物流": "lbbk", 18 | "百千诚物流": "bqcwl", 19 | "博源恒通": "byht", 20 | "百成大达物流": "idada", 21 | "百腾物流": "baitengwuliu", 22 | "巴伦支快递": "balunzhi", 23 | "笨鸟海淘": "birdex", 24 | "百事亨通": "bsht", 25 | "奔腾物流": "benteng", 26 | "布谷鸟速递": "cuckooexpess", 27 | "邦工快运": "bgky100", 28 | "堡昕德速递": "bosind", 29 | "斑马物联网": "banma", 30 | "CE易欧通国际速递": "cloudexpress", 31 | "COE(东方快递)": "coe", 32 | "城市100": "city100", 33 | "城际速递": "chengjisudi", 34 | "成都立即送": "lijisong", 35 | "出口易": "chukou1", 36 | "晟邦物流": "nanjingshengbang", 37 | "程光快递": "flyway", 38 | "传喜物流": "chuanxiwuliu", 39 | "钏博物流": "cbo56", 40 | "城铁物流": "cex", 41 | "DHL中国": "dhl", 42 | "DHL国际": "dhlen", 43 | "DHL德国": "dhlde", 44 | "德邦": "debangwuliu", 45 | "大田物流": "datianwuliu", 46 | "东方快递": "coe", 47 | "递四方": "disifang", 48 | "大洋物流": "dayangwuliu", 49 | "店通快递": "diantongkuaidi", 50 | "德创物流": "dechuangwuliu", 51 | "东红物流": "donghong", 52 | "D速物流": "dsukuaidi", 53 | "东瀚物流": "donghanwl", 54 | "达方物流": "dfpost", 55 | "东骏快捷物流": "dongjun", 56 | "叮咚澳洲转运": "dindon", 57 | "大众佐川急便": "dazhong", 58 | "德方物流": "ahdf", 59 | "德中快递": "decnlh", 60 | "德坤供应链": "dekuncn", 61 | "达速物流": "dasu", 62 | "德豪驿": "dehaoyi", 63 | "DHL Paket": "dhlpaket", 64 | "德国优拜物流": "ubuy", 65 | "德国雄鹰速递": "adlerlogi", 66 | "德国云快递": "yunexpress", 67 | "EU-EXPRESS": "euexpress", 68 | "EMS快递查询": "ems", 69 | "EMS国际快递查询": "emsguoji", 70 | "俄顺达": "eshunda", 71 | "EWE全球快递": "ewe", 72 | "FedEx快递查询": "fedex", 73 | "FedEx美国": "fedexus", 74 | "FedEx英国": "fedexuk", 75 | "FOX国际速递": "fox", 76 | "凡客如风达": "rufengda", 77 | "飞康达物流": "feikangda", 78 | "飞豹快递": "feibaokuaidi", 79 | "飞狐快递": "feihukuaidi", 80 | "凡宇速递": "fanyukuaidi", 81 | "颿达国际快递": "fandaguoji", 82 | "飞远配送": "feiyuanvipshop", 83 | "飞鹰物流": "hnfy", 84 | "风行天下": "fengxingtianxia", 85 | "飞力士物流": "flysman", 86 | "飞邦快递": "fbkd", 87 | "丰程物流": "sccod", 88 | "泛远国际物流": "farlogistis", 89 | "疯狂快递": "crazyexpress", 90 | "法翔速运": "ftlexpress", 91 | "富腾达快递": "ftd", 92 | "GLS": "gls", 93 | "GSM": "gsm", 94 | "GATI快递": "gaticn", 95 | "GTS快递": "gts", 96 | "挂号信/国内邮件": "youzhengguonei", 97 | "国通快递": "guotongkuaidi", 98 | "国际邮件查询": "youzhengguoji", 99 | "港中能达物流": "ganzhongnengda", 100 | "港快速递": "gdkd", 101 | "共速达": "gongsuda", 102 | "广通速递(山东)": "gtongsudi", 103 | "高铁速递": "hre", 104 | "冠达快递": "gda", 105 | "哥士传奇速递": "gscq365", 106 | "冠捷物流": "gjwl", 107 | "国晶物流": "xdshipping", 108 | "华宇物流": "tiandihuayu", 109 | "恒路物流": "hengluwuliu", 110 | "好来运快递": "hlyex", 111 | "华夏龙物流": "huaxialongwuliu", 112 | "海航天天": "tiantian", 113 | "河北建华": "hebeijianhua", 114 | "海盟速递": "haimengsudi", 115 | "华企快运": "huaqikuaiyun", 116 | "昊盛物流": "haoshengwuliu", 117 | "户通物流": "hutongwuliu", 118 | "华航快递": "hzpl", 119 | "黄马甲快递": "huangmajia", 120 | "合众速递(UCS)": "ucs", 121 | "皇家物流": "pfcexpress", 122 | "伙伴物流": "huoban", 123 | "红马速递": "nedahm", 124 | "汇文配送": "huiwen", 125 | "华赫物流": "nmhuahe", 126 | "猴急送": "hjs", 127 | "航宇快递": "hangyu", 128 | "辉联物流": "huilian", 129 | "环球速运": "huanqiu", 130 | "华达快运": "huada", 131 | "华通务达物流": "htwd", 132 | "海派通": "hipito", 133 | "环球通达": "hqtd", 134 | "航空快递": "airgtc", 135 | "好又快物流": "haoyoukuai", 136 | "韩润物流": "hanrun", 137 | "河南次晨达": "ccd", 138 | "和丰同城": "hfwuxi", 139 | "荷兰 Sky Post": "skypost", 140 | "鸿讯物流": "hongxun", 141 | "宏捷国际物流": "hongjie", 142 | "汇通天下物流": "httx56", 143 | "恒通快递": "lqht", 144 | "黑狗物流": "higo", 145 | "恒宇运通": "hyytes", 146 | "恒瑞物流": "hengrui56", 147 | "环创物流": "ghl", 148 | "河南全速通": "hnqst", 149 | "佳吉物流": "jiajiwuliu", 150 | "佳怡物流": "jiayiwuliu", 151 | "加运美快递": "jiayunmeiwuliu", 152 | "急先达物流": "jixianda", 153 | "京广速递快件": "jinguangsudikuaijian", 154 | "晋越快递": "jinyuekuaidi", 155 | "京东快递": "jd", 156 | "捷特快递": "jietekuaidi", 157 | "久易快递": "jiuyicn", 158 | "九曳供应链": "jiuyescm", 159 | "骏丰国际速递": "junfengguoji", 160 | "佳家通": "jiajiatong56", 161 | "吉日优派": "jrypex", 162 | "锦程国际物流": "jinchengwuliu", 163 | "景光物流": "jgwl", 164 | "急顺通": "pzhjst", 165 | "捷网俄全通": "ruexp", 166 | "嘉里大通": "jialidatong", 167 | "金马甲": "jmjss", 168 | "佳成快递": "jiacheng", 169 | "骏绅物流": "jsexpress", 170 | "锦程快递": "hrex", 171 | "快捷快递": "kuaijiesudi", 172 | "康力物流": "kangliwuliu", 173 | "跨越速运": "kuayue", 174 | "快优达速递": "kuaiyouda", 175 | "快淘快递": "kuaitao", 176 | "开心快递": "happylink", 177 | "联邦快递": "lianbangkuaidi", 178 | "联昊通物流": "lianhaowuliu", 179 | "龙邦速递": "longbanwuliu", 180 | "乐捷递": "lejiedi", 181 | "立即送": "lijisong", 182 | "蓝弧快递": "lanhukuaidi", 183 | "乐天速递": "ltexp", 184 | "鲁通快运": "lutong", 185 | "乐递供应链": "ledii", 186 | "论道国际物流": "lundao", 187 | "林安物流": "lasy56", 188 | "ME物流": "macroexpressco", 189 | "民航快递": "minghangkuaidi", 190 | "美国快递": "meiguokuaidi", 191 | "门对门": "menduimen", 192 | "明亮物流": "mingliangwuliu", 193 | "民邦速递": "minbangsudi", 194 | "闽盛快递": "minshengkuaidi", 195 | "麦力快递": "mailikuaidi", 196 | "木春货运": "mchy", 197 | "美快国际物流": "meiquick", 198 | "美通快递": "valueway", 199 | "马珂博逻": "cnmcpl", 200 | "能达速递": "ganzhongnengda", 201 | "偌亚奥国际": "nuoyaao", 202 | "诺尔国际物流": "nuoer", 203 | "尼尔快递": "nell", 204 | "OCS": "ocs", 205 | "欧亚专线": "euasia", 206 | "PCA Express": "pcaexpress", 207 | "平安达腾飞": "pingandatengfei", 208 | "陪行物流": "peixingwuliu", 209 | "品骏快递": "pjbest", 210 | "鹏远国际速递": "pengyuanexpress", 211 | "全峰快递": "quanfengkuaidi", 212 | "全一快递": "quanyikuaidi", 213 | "全日通快递": "quanritongkuaidi", 214 | "全晨快递": "quanchenkuaidi", 215 | "7天连锁物流": "sevendays", 216 | "秦邦快运": "qbexpress", 217 | "全信通快递": "quanxintong", 218 | "全速通国际快递": "quansutong", 219 | "秦远物流": "qinyuan", 220 | "启辰国际物流": "qichen", 221 | "全速快运": "quansu", 222 | "全之鑫物流": "qzx56", 223 | "千顺快递": "qskdyxgs", 224 | "全时速运": "runhengfeng", 225 | "如风达快递": "rufengda", 226 | "日昱物流": "riyuwuliu", 227 | "瑞丰速递": "rfsd", 228 | "日日顺物流": "rrs", 229 | "日益通速递": "rytsd", 230 | "瑞达国际速递": "ruidaex", 231 | "日日顺快线": "rrskx", 232 | "容智物流速运": "gdrz58", 233 | "顺丰速运": "shunfeng", 234 | "申通快递": "shentong", 235 | "速尔快递": "suer", 236 | "山东海红": "haihongwangsong", 237 | "盛辉物流": "shenghuiwuliu", 238 | "世运快递": "shiyunkuaidi", 239 | "盛丰物流": "shengfengwuliu", 240 | "上大物流": "shangda", 241 | "三态速递": "santaisudi", 242 | "赛澳递": "saiaodi", 243 | "申通E物流": "shentong", 244 | "圣安物流": "shenganwuliu", 245 | "山西红马甲": "sxhongmajia", 246 | "穗佳物流": "suijiawuliu", 247 | "沈阳佳惠尔": "syjiahuier", 248 | "上海林道货运": "shlindao", 249 | "十方通物流": "sfift", 250 | "山东广通速递": "gtongsudi", 251 | "顺捷丰达": "shunjiefengda", 252 | "速必达物流": "subida", 253 | "速通成达物流": "htwd", 254 | "速腾物流": "suteng", 255 | "速方国际物流": "bphchina", 256 | "顺通快递": "stkd", 257 | "速递中国": "sendtochina", 258 | "苏宁快递": "suning", 259 | "四海快递": "sihaiet", 260 | "首通快运": "staky", 261 | "顺时达物流": "hnssd56", 262 | "Superb Grace": "superb", 263 | "圣飞捷快递": "sfjhd", 264 | "上海航瑞货运": "hangrui", 265 | "嗖一下同城快递": "sofast56", 266 | "天天快递": "tiantian", 267 | "TNT快递": "tnt", 268 | "天地华宇": "tiandihuayu", 269 | "通和天下": "tonghetianxia", 270 | "天纵物流": "tianzong", 271 | "同舟行物流": "chinatzx", 272 | "腾达速递": "nntengda", 273 | "泰国138": "sd138", 274 | "通达兴物流": "tongdaxing", 275 | "天联快运": "tlky", 276 | "途鲜物流": "ibenben", 277 | "淘韩国际快递": "krtao", 278 | "特急送": "lntjs", 279 | "UPS快递查询": "ups", 280 | "UC优速快递": "youshuwuliu", 281 | "UCS(合众速递)": "ucs", 282 | "USPS美国邮政": "usps", 283 | "UEQ快递": "ueq", 284 | "万象物流": "wanxiangwuliu", 285 | "微特派": "weitepai", 286 | "万家物流": "wanjiawuliu", 287 | "万博快递": "wanboex", 288 | "万家通": "timedg", 289 | "威时沛运": "wtdchina", 290 | "微转运": "wzhaunyun", 291 | "万通快递": "gswtkd", 292 | "渥途国际速运": "wotu", 293 | "豌豆物流": "wandougongzhu", 294 | "万家康物流": "wjkwl", 295 | "希优特快递": "xiyoutekuaidi", 296 | "新邦物流": "xinbangwuliu", 297 | "信丰物流": "xinfengwuliu", 298 | "新蛋物流": "neweggozzo", 299 | "祥龙运通物流": "xianglongyuntong", 300 | "西安城联速递": "xianchengliansudi", 301 | "喜来快递": "xilaikd", 302 | "鑫世锐达": "xsrd", 303 | "鑫通宝物流": "xtb", 304 | "信天捷快递": "xintianjie", 305 | "西安胜峰": "xaetc", 306 | "新顺丰(NSF)": "nsf", 307 | "先锋快递": "xianfeng", 308 | "新速航": "sunspeedy", 309 | "西邮寄": "xipost", 310 | "信联通": "sinatone", 311 | "新杰物流": "sunjex", 312 | "心怡物流": "alog", 313 | "新时速物流": "csxss", 314 | "翔腾物流": "xiangteng", 315 | "西翼物流": "westwing", 316 | "小熊物流": "littlebearbear", 317 | "鑫和高铁快运": "gaotieex", 318 | "圆通速递": "yuantong", 319 | "韵达快递": "yunda", 320 | "韵达美国件": "yundaexus", 321 | "邮政国内": "youzhengguonei", 322 | "邮政国际": "youzhengguoji", 323 | "邮政EMS速递": "ems", 324 | "运通快递": "yuntongkuaidi", 325 | "宇鑫物流": "yuxinwuliu", 326 | "远成物流": "yuanchengwuliu", 327 | "优速快递": "youshuwuliu", 328 | "越丰物流": "yuefengwuliu", 329 | "源安达快递": "yuananda", 330 | "原飞航物流": "yuanfeihangwuliu", 331 | "银捷速递": "yinjiesudi", 332 | "一统飞鸿": "yitongfeihong", 333 | "亚风速递": "yafengsudi", 334 | "易通达": "yitongda", 335 | "邮必佳": "youbijia", 336 | "一柒物流": "yiqiguojiwuliu", 337 | "音素快运": "yinsu", 338 | "亿领速运": "yilingsuyun", 339 | "煜嘉物流": "yujiawuliu", 340 | "英脉物流": "gml", 341 | "云豹国际货运": "leopard", 342 | "云南中诚": "czwlyn", 343 | "优配速运": "sdyoupei", 344 | "永昌物流": "yongchang", 345 | "御风速运": "yufeng", 346 | "亚马逊物流": "yamaxunwuliu", 347 | "优速通达": "yousutongda", 348 | "亿顺航": "yishunhang", 349 | "永旺达快递": "yongwangda", 350 | "易客满": "ecmscn", 351 | "英超物流": "yingchao", 352 | "益递物流": "edlogistics", 353 | "远洋国际": "yyexpress", 354 | "一号仓": "onehcang", 355 | "远成快运": "ycgky", 356 | "一号线": "lineone", 357 | "壹品速递": "ypsd", 358 | "易达通快递": "qexpress", 359 | "鹰运国际速递": "vipexpress", 360 | "YLTD": "el56", 361 | "一运全成物流": "yyqc56", 362 | "韵丰物流": "yunfeng56", 363 | "驿扬国际速运": "iyoungspeed", 364 | "一站通快递": "zgyzt", 365 | "易优包裹": "eupackage", 366 | "云达通": "ydglobe", 367 | "运东西": "yundx", 368 | "洋包裹": "yangbaoguo", 369 | "优联吉运": "uluckex", 370 | "优邦速运": "ubonex", 371 | "玥玛速运": "yue777", 372 | "远为快递": "ywexpress", 373 | "易转运": "ezhuanyuan", 374 | "中通快递": "zhongtong", 375 | "宅急送": "zhaijisong", 376 | "中铁快运": "ztky", 377 | "中铁物流": "zhongtiewuliu", 378 | "中邮物流": "zhongyouwuliu", 379 | "中国东方(COE)": "coe", 380 | "芝麻开门": "zhimakaimen", 381 | "中国邮政快递": "youzhengguonei", 382 | "郑州建华": "zhengzhoujianhua", 383 | "中速快件": "zhongsukuaidi", 384 | "中天万运": "zhongtianwanyun", 385 | "中睿速递": "zhongruisudi", 386 | "中外运速递": "zhongwaiyun", 387 | "增益速递": "zengyisudi", 388 | "郑州速捷": "sujievip", 389 | "智通物流": "ztong", 390 | "至诚通达快递": "zhichengtongda", 391 | "众辉达物流": "zhdwl", 392 | "直邮易": "kuachangwuliu", 393 | "中运全速": "topspeedex", 394 | "中欧快运": "otobv", 395 | "准实快运": "zsky123", 396 | "中国翼": "cnws", 397 | "中宇天地": "zytdscm", 398 | "转运四方": "zhuanyunsifang", 399 | "卓烨快递": "hrbzykd" 400 | } -------------------------------------------------------------------------------- /ExpressDeliveryCode.json: -------------------------------------------------------------------------------- 1 | { 2 | "爱沙尼亚": "omniva", 3 | "AAE快递": "aae", 4 | "Aramex快递": "aramex", 5 | "Australia Post": "auspost", 6 | "ADP Express": "adp", 7 | "An Post": "anposten", 8 | "ACS雅仕快递": "acs", 9 | "安能物流快递": "annengwuliu", 10 | "ABF": "abf", 11 | "ADP": "adp", 12 | "Aramex": "aramex", 13 | "Asendia USA": "asendiausa", 14 | "澳大利亚邮政": "auspost", 15 | "爱尔兰邮政": "anposten", 16 | "阿联酋邮政": "emirates", 17 | "阿富汗邮政": "afghan", 18 | "安迅物流": "anxl", 19 | "AOL快递": "aolau", 20 | "A2U速递": "a2u", 21 | "安能小包": "ane66", 22 | "澳邮中国快运": "auexpress", 23 | "澳速物流": "auspeed", 24 | "澳世速递": "ausexpress", 25 | "BHT快递": "bht", 26 | "Brazil Post": "brazilposten", 27 | "百福东方物流": "baifudongfang", 28 | "邦送物流": "bangsongwuliu", 29 | "巴伦支快递": "balunzhi", 30 | "北青小红帽": "xiaohongmao", 31 | "比利时邮政": "bpost", 32 | "百世快递": "huitongkuaidi", 33 | "巴西邮政": "baxiyouzheng", 34 | "保加利亚邮政": "bulgarian", 35 | "巴基斯坦邮政": "pakistan", 36 | "白俄罗斯邮政": "belpost", 37 | "百千诚物流": "bqcwl", 38 | "博源恒通": "byht", 39 | "百成大达物流": "idada", 40 | "奔腾物流": "jnbenteng", 41 | "八达通": "8dt", 42 | "贝海国际速递": "xlobo", 43 | "笨鸟海淘": "birdex", 44 | "百世快运": "baishiwuliu", 45 | "COE(东方快递)": "coe", 46 | "Canada Post": "canpost", 47 | "City-link Express": "citylink", 48 | "Correios": "correios", 49 | "城市100": "city100", 50 | "传喜物流": "chuanxiwuliu", 51 | "城际快递": "chengjisudi", 52 | "成都立即送": "lijisong", 53 | "出口易": "chukou1", 54 | "晟邦物流": "nanjingshengbang", 55 | "Chronopost Portugal": "chronopostport", 56 | "次晨达物流": "ccd56", 57 | "诚通物流": "chengtongwuliu", 58 | "春辉物流": "chunhuiwuliu", 59 | "程光快递": "flyway", 60 | "城市之星": "soclgz", 61 | "DPEX": "dpex", 62 | "dhl国际快递": "dhl", 63 | "D速物流": "dsukuaidi", 64 | "德邦物流": "debangwuliu", 65 | "大田物流": "datianwuliu", 66 | "东方快递": "coe", 67 | "递四方": "disifang", 68 | "大洋物流": "dayangwuliu", 69 | "店通快递": "diantongkuaidi", 70 | "德创物流": "dechuangwuliu", 71 | "东红物流": "donghong", 72 | "丹麦邮政": "postdanmarken", 73 | "DHL(中国件)": "dhl", 74 | "DHL(国际件)": "dhlen", 75 | "DHL(德国件)": "dhlde", 76 | "DHL(波兰件)": "dhlpoland", 77 | "DHL Benelux": "dhlbenelux", 78 | "DPD": "dpd", 79 | "DPD(德国件)": "dpdgermany", 80 | "DPD(波兰件)": "dpdpoland", 81 | "DPD(英国件)": "dpduk", 82 | "Deltec Courier": "deltec", 83 | "Direct Link": "directlink", 84 | "DTDC India": "dtdcindia", 85 | "DPEXEN": "dpexen", 86 | "东瀚物流": "donghanwl", 87 | "德方物流": "defangwuliu", 88 | "德国GDSK": "gdskde", 89 | "DHL(US) eCommerce": "dhlglobal", 90 | "大道物流": "ddwl", 91 | "ems快递": "ems", 92 | "ems国际快递": "emsguoji", 93 | "EMS(中国件)": "ems", 94 | "EMS(国际件)": "emsguoji", 95 | "Estes": "estes", 96 | "EC-Firstclass": "ecfirstclass", 97 | "Estafeta": "estafeta", 98 | "EFS POST": "efspost", 99 | "俄罗斯邮政": "russia", 100 | "EWE": "ewe", 101 | "fedex国际快递": "fedex", 102 | "FedEx(美国)": "fedexus", 103 | "Fardar Worldwide": "fardarww", 104 | "飞康达物流": "feikangda", 105 | "飞豹快递": "feibaokuaidi", 106 | "飞狐快递": "feihukuaidi", 107 | "凡宇速递": "fanyukuaidi", 108 | "颿达国际": "fandaguoji", 109 | "飞远快递": "feiyuanvipshop", 110 | "FedEx(中国件)": "lianbangkuaidi", 111 | "FedEx(英国件)": "fedexuk", 112 | "Fastway Ireland": "fastway", 113 | "法国邮政(大包EMS)": "chronopostfren", 114 | "飞鹰物流": "hnfy", 115 | "菲律宾邮政": "phlpost", 116 | "飞洋快递": "gcex", 117 | "泛捷国际速递": "epanex", 118 | "富腾达国际货运代理公司": "ftd", 119 | "FOX国际速递": "foxglobal", 120 | "丰程物流": "sccod", 121 | "方舟国际速递": "arkexpress", 122 | "GSM快递": "gsm", 123 | "GATI快递": "gaticn", 124 | "能达快递": "ganzhongnengda", 125 | "国际邮件": "youzhengguoji", 126 | "共速达": "gongsuda", 127 | "国通快递": "guotongkuaidi", 128 | "港快速递": "gdkd", 129 | "高铁速递": "hre", 130 | "冠达快递": "gda", 131 | "GLS": "gls", 132 | "Gati-KWE": "gatikwe", 133 | "广通速递": "gtongsudi", 134 | "哥伦比亚邮政": "copost", 135 | "GLOBELL": "globellexpress", 136 | "哈萨克斯坦": "kazpost", 137 | "天地华宇物流": "tiandihuayu", 138 | "恒路物流": "hengluwuliu", 139 | "好来运快递": "hlyex", 140 | "华夏龙物流": "huaxialongwuliu", 141 | "河北建华": "hebeijianhua", 142 | "海盟速递": "haimengsudi", 143 | "华企快运": "huaqikuaiyun", 144 | "昊盛物流": "haoshengwuliu", 145 | "户通物流": "hutongwuliu", 146 | "华航快递": "hzpl", 147 | "黄马甲快递": "huangmajia", 148 | "合众速递": "ucs", 149 | "荷兰邮政": "postnl", 150 | "韩国邮政": "koreapost", 151 | "皇家物流": "pfcexpress", 152 | "伙伴物流": "huoban", 153 | "辉隆物流": "huilongwuliu", 154 | "环球速运": "huanqiu", 155 | "环球快递": "huanqiukd", 156 | "荷兰速递": "nederlandpost", 157 | "海龟国际速递": "turtle", 158 | "鸿泰物流": "ht56", 159 | "货运皇": "kingfreight", 160 | "International Seur": "seur", 161 | "Interlink Express": "interlink", 162 | "i-parcel": "iparcel", 163 | "佳吉物流": "jiajiwuliu", 164 | "佳怡物流": "jiayiwuliu", 165 | "加运美快递": "jiayunmeiwuliu", 166 | "急先达物流": "jixianda", 167 | "京广速递快件": "jinguangsudikuaijian", 168 | "晋越快递": "jinyuekuaidi", 169 | "嘉里大通": "jialidatong", 170 | "捷特快递": "jietekuaidi", 171 | "久易快递": "jiuyicn", 172 | "京东快递": "jd", 173 | "加拿大邮政": "canpost", 174 | "捷克邮政": "ceskaposta", 175 | "金大物流": "jindawuliu", 176 | "极光转运": "jiguangzhuanyun", 177 | "骏达快递": "jdexpressusa", 178 | "今枫国际快运": "mapieexpress", 179 | "骏丰国际速递": "junfengguoji", 180 | "吉祥邮": "jixiangyou", 181 | "景光物流": "jgwl", 182 | "九点半快递": "0930am", 183 | "金岸物流": "gplexpress", 184 | "KCS Express": "kcs", 185 | "快捷快递": "kuaijiesudi", 186 | "康力物流": "kangliwuliu", 187 | "跨越速运": "kuayue", 188 | "快优达速递": "kuaiyouda", 189 | "克罗地亚邮政": "hrvatska", 190 | "快客快递": "gotoquick", 191 | "卡行天下": "kxtx", 192 | "LDXpress": "ldxpress", 193 | "联昊通物流": "lianhaowuliu", 194 | "龙邦快递": "longbanwuliu", 195 | "联邦快递": "lianbangkuaidi", 196 | "乐捷递": "lejiedi", 197 | "立即送": "lijisong", 198 | "蓝弧快递": "lanhukuaidi", 199 | "LaserShip": "lasership", 200 | "罗马尼亚邮政": "romanian", 201 | "拉脱维亚": "latvia", 202 | "立陶宛邮政": "lithuania", 203 | "黎巴嫩邮政": "libanpost", 204 | "蓝天快递": "ltx", 205 | "联合快递": "gslhkd", 206 | "民航快递": "minghangkuaidi", 207 | "美国快递": "meiguokuaidi", 208 | "门对门": "menduimen", 209 | "明亮物流": "mingliangwuliu", 210 | "民邦速递": "minbangsudi", 211 | "闽盛快递": "minshengkuaidi", 212 | "MRW": "mrw", 213 | "MyHermes": "myhermes", 214 | "Mexico Multipack": "multipack", 215 | "Mexico Senda": "mexicodenda", 216 | "马来西亚邮政(小包)": "malaysiapost", 217 | "马来西亚(大包EMS)": "malaysiaems", 218 | "墨西哥邮政": "mexico", 219 | "麦力快递": "mailikuaidi", 220 | "马耳他邮政": "malta", 221 | "马其顿邮政": "macedonia", 222 | "马尔代夫邮政": "maldives", 223 | "摩尔多瓦邮政": "moldova", 224 | "孟加拉国(EMS)": "bangladesh", 225 | "美西快递": "mxkd", 226 | "能达速递": "ganzhongnengda", 227 | "偌亚奥国际": "nuoyaao", 228 | "Nova Poshta": "novaposhta", 229 | "挪威邮政": "postennorge", 230 | "南非邮政": "southafrican", 231 | "尼日利亚邮政小包": "nigerianpost", 232 | "OCS": "ocs", 233 | "OnTrac": "ontrac", 234 | "OPEK(FedEx波兰)": "opek", 235 | "OCA Argentina": "ocaargen", 236 | "平安达腾飞": "pingandatengfei", 237 | "陪行物流": "peixingwuliu", 238 | "Posten AB": "postenab", 239 | "Purolator": "purolator", 240 | "Post Danmark": "postdanmarken", 241 | "葡萄牙邮政": "portugalctt", 242 | "品骏快递": "pjbest", 243 | "PCA Express": "pcaexpress", 244 | "鹏程快递": "pcexpress", 245 | "全峰快递": "quanfengkuaidi", 246 | "全一快递": "quanyikuaidi", 247 | "全日通快递": "quanritongkuaidi", 248 | "全晨快递": "quanchenkuaidi", 249 | "7天连锁物流": "sevendays", 250 | "全信通快递": "quanxintong", 251 | "秦邦速运": "qbsy", 252 | "全球速运": "zdwex", 253 | "千里速递": "1000ex", 254 | "如风达快递": "rufengda", 255 | "Royale": "nuoyaao", 256 | "瑞典邮政": "ruidianyouzheng", 257 | "日昱物流": "riyuwuliu", 258 | "日本邮政": "japanposten", 259 | "Red Express": "redexpress", 260 | "瑞士邮政": "swisspost", 261 | "瑞丰速递": "rfsd", 262 | "日日顺物流": "rrs", 263 | "Sinoex": "sinoex", 264 | "申通快递": "shentong", 265 | "顺丰快递": "shunfeng", 266 | "速尔快递": "suer", 267 | "山东海红": "haihongwangsong", 268 | "盛辉物流": "shenghuiwuliu", 269 | "盛丰物流": "shengfengwuliu", 270 | "上大物流": "shangda", 271 | "三态速递": "santaisudi", 272 | "赛澳递": "saiaodi", 273 | "圣安物流": "shenganwuliu", 274 | "山西红马甲": "sxhongmajia", 275 | "穗佳物流": "suijiawuliu", 276 | "沈阳佳惠尔": "syjiahuier", 277 | "上海林道货运": "shlindao", 278 | "世运快递": "shiyunkuaidi", 279 | "Selektvracht": "selektvracht", 280 | "Siodemka": "siodemka", 281 | "Safexpress": "safexpress", 282 | "SkyNet(马来西亚)": "skynetmalaysia", 283 | "沙特阿拉伯邮政": "saudipost", 284 | "塞尔维亚邮政": "serbia", 285 | "塞浦路斯邮政": "cypruspost", 286 | "上海御风速运": "shyfwl", 287 | "沈阳特急送": "sytjs", 288 | "速方物流": "bphchina", 289 | "速方国际物流": "sufast", 290 | "速通物流": "sut56", 291 | "速腾快递": "ste56", 292 | "速派快递": "fastgo", 293 | "苏通快运": "zjstky", 294 | "天天快递": "tiantian", 295 | "TNT快递": "tnt", 296 | "天地华宇": "tiandihuayu", 297 | "通和天下": "tonghetianxia", 298 | "TCI XPS": "tcixps", 299 | "tnt国际快递": "tntuk", 300 | "TNT(澳大利亚件)": "tntau", 301 | "TNT(意大利件)": "tntitaly", 302 | "Toll Priority": "tollpriority", 303 | "泰国邮政": "thailand", 304 | "天纵物流": "tianzong", 305 | "腾达物流": "nntengda", 306 | "突尼斯邮政": "tunisia", 307 | "Toll": "toll", 308 | "土耳其邮政": "ptt", 309 | "通源速运": "tongyuansuyun", 310 | "天马迅达快递": "expresstochina", 311 | "UPS国际快递": "ups", 312 | "USPS": "usps", 313 | "UPS快递": "upsfreight", 314 | "UPS Mail Innovations": "upsmailinno", 315 | "UPS": "ups", 316 | "UEQ": "ueq", 317 | "万象物流": "wanxiangwuliu", 318 | "微特派": "weitepai", 319 | "万家物流": "wanjiawuliu", 320 | "乌克兰EMS": "emsukraine", 321 | "乌克兰邮政": "ukrpost", 322 | "万博快递": "wanboex", 323 | "乌兹别克斯坦(大、小包)": "uzbekistan", 324 | "威时沛运货运": "wtdchina", 325 | "万庚国际速递": "vangen", 326 | "希优特快递": "xiyoutekuaidi", 327 | "新邦物流": "xinbangwuliu", 328 | "信丰物流": "xinfengwuliu", 329 | "新蛋物流": "neweggozzo", 330 | "香港邮政": "hkpost", 331 | "祥龙运通物流": "xianglongyuntong", 332 | "西安城联速递": "xianchengliansudi", 333 | "新顺丰(NSF)": "nsf", 334 | "新加坡邮政": "singpost", 335 | "新加坡邮政(大包、EMS)": "speedpost", 336 | "希腊邮政": "eltahell", 337 | "西班牙邮政": "correosdees", 338 | "喜来快递": "xilaikd", 339 | "叙利亚邮政": "republic", 340 | "新喀里多尼亚": "caledonia", 341 | "鑫通宝物流": "xtb", 342 | "先飞达物流": "xfdwuliu", 343 | "迅达速递": "xdexpress", 344 | "行必达同城快递": "speeda", 345 | "新极速国际物流": "nes56", 346 | "优配速运": "sdyoupei", 347 | "越南邮政": "vnpost", 348 | "邮政快递": "youzhengguonei", 349 | "优速快递": "youshuwuliu", 350 | "圆通快递": "yuantong", 351 | "韵达快递": "yunda", 352 | "运通快递": "yuntongkuaidi", 353 | "邮政国际": "youzhengguoji", 354 | "远成物流": "yuanchengwuliu", 355 | "亚风速递": "yafengsudi", 356 | "亿顺航": "yishunhang", 357 | "越丰物流": "yuefengwuliu", 358 | "源安达快递": "yuananda", 359 | "原飞航物流": "yuanfeihangwuliu", 360 | "银捷速递": "yinjiesudi", 361 | "一统飞鸿": "yitongfeihong", 362 | "宇鑫物流": "yuxinwuliu", 363 | "易通达": "yitongda", 364 | "邮必佳": "youbijia", 365 | "一柒物流": "yiqiguojiwuliu", 366 | "音素快运": "yinsu", 367 | "亿领速运": "yilingsuyun", 368 | "煜嘉物流": "yujiawuliu", 369 | "英脉物流": "gml", 370 | "YODEL": "yodel", 371 | "英国邮政大包": "parcelforce", 372 | "英国邮政小包": "royalmail", 373 | "意大利SAD": "italysad", 374 | "以色列邮政": "israelpost", 375 | "新西兰邮政": "newzealand", 376 | "云豹国际货运": "leopard", 377 | "也门邮政": "yemen", 378 | "约旦邮政": "jordan", 379 | "亚美尼亚邮政": "haypost", 380 | "印度邮政": "india", 381 | "云南诚中": "czwlyn", 382 | "远成快运": "ycgky", 383 | "易客满": "yikeman", 384 | "燕文物流": "yw56", 385 | "意大利邮政": "poste", 386 | "优速通达": "yousutongda", 387 | "1号仓": "onehcang", 388 | "易达通快递": "qexpress", 389 | "优邦国际": "ubonex", 390 | "亚马逊物流": "amazon", 391 | "宅急便": "bin", 392 | "中通快递": "zhongtong", 393 | "宅急送": "zhaijisong", 394 | "中铁快运": "zhongtiewuliu", 395 | "中铁物流": "ztky", 396 | "中邮物流": "zhongyouwuliu", 397 | "中国东方(COE)": "coe", 398 | "芝麻开门": "zhimakaimen", 399 | "郑州建华": "zhengzhoujianhua", 400 | "中速快件": "zhongsukuaidi", 401 | "中天万运": "zhongtianwanyun", 402 | "中睿速递": "zhongruisudi", 403 | "中外运速递": "zhongwaiyun", 404 | "增益速递": "zengyisudi", 405 | "智利邮政": "chile", 406 | "郑州速捷": "sujievip", 407 | "中邮快递": "cnpex", 408 | "中欧快运": "otobv", 409 | "准实快运": "lnzsky", 410 | "中外速运(中澳速)": "zhongaosu", 411 | "中骅物流": "chunghwa56", 412 | "中通快运": "zhongtong56", 413 | "中兴国际快递": "zteexpress", 414 | "宅配通": "ecan" 415 | } -------------------------------------------------------------------------------- /KingsoftDic.md: -------------------------------------------------------------------------------- 1 | # 金山词霸 # 2 | 3 | - [联想](#associate) 4 | - [释义](#explain) 5 | - [翻译](#translation) 6 | 7 |

联想

8 | 9 | url:http://dict-mobile.iciba.com/interface/index.php 10 | 11 | 拼接参数: 12 | 13 | - `c`:固定值 `word` 14 | - `m`:固定值 `getsuggest` 15 | - `nums`:返回数量 16 | - `client`:固定值 `6` 17 | - `is_need_mean`:固定值 `1` 18 | - `word`:搜索词 19 | 20 | 示例 url:[`http://dict-mobile.iciba.com/interface/index.php?c=word&m=getsuggest&nums=10&client=6&is_need_mean=1&word=h`](http://dict-mobile.iciba.com/interface/index.php?c=word&m=getsuggest&nums=10&client=6&is_need_mean=1&word=h) 21 | 22 | json 示例: 23 | 24 | { 25 | "status": 1, 26 | "message": [ 27 | { 28 | "key": "hold", 29 | "value": 2170, 30 | "means": [ 31 | { 32 | "part": "vt.", 33 | "means": [ 34 | "拿住,握住", 35 | "保留,保存", 36 | "扣留,拘押", 37 | "容纳" 38 | ] 39 | }, 40 | { 41 | "part": "vi.", 42 | "means": [ 43 | "拿住,握住", 44 | "同意,赞成", 45 | "保持不变", 46 | "有效" 47 | ] 48 | }, 49 | { 50 | "part": "n.", 51 | "means": [ 52 | "握住", 53 | "保留", 54 | "控制" 55 | ] 56 | } 57 | ] 58 | }, 59 | { 60 | "key": "hang", 61 | "value": 1943, 62 | "means": [ 63 | { 64 | "part": "vt.", 65 | "means": [ 66 | "悬挂", 67 | "(被)绞死", 68 | "贴,装饰", 69 | "使悬而未决" 70 | ] 71 | }, 72 | { 73 | "part": "vi.", 74 | "means": [ 75 | "悬垂", 76 | "被吊死", 77 | "附属,依靠", 78 | "悬而未决" 79 | ] 80 | }, 81 | { 82 | "part": "n.", 83 | "means": [ 84 | "悬挂的样子", 85 | "(动作的)暂停", 86 | "〈口〉大意,要点", 87 | "〈口〉做法,诀窍" 88 | ] 89 | } 90 | ] 91 | }, 92 | { 93 | "key": "have", 94 | "value": 1883, 95 | "means": [ 96 | { 97 | "part": "aux.", 98 | "means": [ 99 | "用以构成完成式及完成式的不定式,表示已经…" 100 | ] 101 | }, 102 | { 103 | "part": "vt.", 104 | "means": [ 105 | "有,具有", 106 | "拿,取得", 107 | "从事", 108 | "必须,不得不" 109 | ] 110 | }, 111 | { 112 | "part": "n.", 113 | "means": [ 114 | "〈口〉有产者,有钱人", 115 | "富国", 116 | "〈英俚〉欺骗,诈骗" 117 | ] 118 | } 119 | ] 120 | }, 121 | { 122 | "key": "hit", 123 | "value": 1809, 124 | "means": [ 125 | { 126 | "part": "vt.& vi.", 127 | "means": [ 128 | "打,打击", 129 | "碰撞" 130 | ] 131 | }, 132 | { 133 | "part": "vt.", 134 | "means": [ 135 | "击(球)", 136 | "(在精神上)打击(某人)", 137 | "猜中", 138 | "迎合" 139 | ] 140 | }, 141 | { 142 | "part": "n.", 143 | "means": [ 144 | "打,打击", 145 | "碰撞", 146 | "(演出等)成功", 147 | "批评,讽刺" 148 | ] 149 | }, 150 | { 151 | "part": "vi.", 152 | "means": [ 153 | "(风暴、疾病等)袭击", 154 | "抨击", 155 | "(偶然)碰上", 156 | "(突然)想到(与 on, upon 连用)" 157 | ] 158 | } 159 | ] 160 | }, 161 | { 162 | "key": "heart", 163 | "value": 1771, 164 | "means": [ 165 | { 166 | "part": "n.", 167 | "means": [ 168 | "心,心脏", 169 | "感情", 170 | "要点", 171 | "胸部" 172 | ] 173 | }, 174 | { 175 | "part": "vt.", 176 | "means": [ 177 | "鼓励", 178 | "激励" 179 | ] 180 | }, 181 | { 182 | "part": "vi.", 183 | "means": [ 184 | "结心" 185 | ] 186 | } 187 | ] 188 | } 189 | ] 190 | } 191 | 192 | 解析: 193 | 194 | - `status`:请求成功时为 `1` 195 | - `message`:具体联想单词信息列表 196 | - `key`:联想单词 197 | - `value`:??? 198 | - `means`:释义列表 199 | - `part`:词性 200 | - `means`:释义列表 201 | 202 |

释义

203 | 204 | url:http://www.iciba.com/index.php 205 | 206 | 拼接参数: 207 | 208 | - `a`:固定值 `getWordMean` 209 | - `c`:固定值 `search` 210 | - `list`:以 `1,3,4,5,8,9,10,12,13,14,18,21,3003,3005` 为字符串进行组合 211 | - `1`:对应 json 中 `baesInfo` 字段,基础释义 212 | - `3`:对应 json 中 `collins` 字段,柯林斯高阶英汉双解学习词典 213 | - `4`:对应 json 中 `ee_mean` 字段,英英词典 214 | - `5`:对应 json 中 `trade_means` 字段,行业词典 215 | - `8`:对应 json 中 `sentence` 字段,双语例句 216 | - `9`:对应 json 中 `netmean` 字段,网络释义 217 | - `10`:对应 json 中 `auth_sentence` 字段,权威例句 218 | - `12`:对应 json 中 `synonym` 字段,同义词 219 | - `13`:对应 json 中 `antonym` 字段,反义词 220 | - `14`:对应 json 中 `phrase` 字段,词组搭配 221 | - `18`:对应 json 中 `encyclopedia` 字段,百科全书 222 | - `21`:对应 json 中 `cetFour` 字段,四级真题 223 | - `3003`:对应 json 中 `bidec` 字段,英汉双向大词典 224 | - `3005`:对应 json 中 `jushi` 字段,例句 225 | - `word`:释义单词 226 | 227 | url 示例:[`http://www.iciba.com/index.php?a=getWordMean&c=search&list=1%2C2%2C3%2C4%2C5%2C8%2C9%2C10%2C12%2C13%2C14%2C18%2C21%2C22%2C3003%2C3005&word=hello`](http://www.iciba.com/index.php?a=getWordMean&c=search&list=1%2C2%2C3%2C4%2C5%2C8%2C9%2C10%2C12%2C13%2C14%2C18%2C21%2C22%2C3003%2C3005&word=hello) 228 | 229 | json 示例: 230 | 231 | { 232 | "errno": 0, 233 | "errmsg": "success", 234 | "baesInfo": { 235 | "word_name": "hello", 236 | "is_CRI": 1, 237 | "exchange": { 238 | "word_pl": [ 239 | "hellos" 240 | ], 241 | "word_past": [], 242 | "word_done": [], 243 | "word_ing": [], 244 | "word_third": [], 245 | "word_er": [], 246 | "word_est": [], 247 | "word_prep": [], 248 | "word_adv": [], 249 | "word_verb": [], 250 | "word_noun": [], 251 | "word_adj": [], 252 | "word_conn": [] 253 | }, 254 | "symbols": [ 255 | { 256 | "ph_en": "hə'ləʊ", 257 | "ph_am": "həˈloʊ", 258 | "ph_other": "", 259 | "ph_en_mp3": "", 260 | "ph_am_mp3": "http://res.iciba.com/resource/amp3/1/0/5d/41/5d41402abc4b2a76b9719d911017c592.mp3", 261 | "ph_tts_mp3": "http://res-tts.iciba.com/5/d/4/5d41402abc4b2a76b9719d911017c592.mp3", 262 | "parts": [ 263 | { 264 | "part": "int.", 265 | "means": [ 266 | "哈喽,喂", 267 | "你好,您好", 268 | "表示问候", 269 | "打招呼" 270 | ] 271 | }, 272 | { 273 | "part": "n.", 274 | "means": [ 275 | "“喂”的招呼声或问候声" 276 | ] 277 | }, 278 | { 279 | "part": "vi.", 280 | "means": [ 281 | "喊“喂”" 282 | ] 283 | } 284 | ] 285 | } 286 | ], 287 | "translate_type": 1 288 | }, 289 | "trade_means": [ 290 | { 291 | "word_trade": "计算机", 292 | "word_mean": [ 293 | "【信】呼叫" 294 | ] 295 | } 296 | ], 297 | "sentence": [ 298 | { 299 | "Network_id": "2305937", 300 | "Network_en": "I answered the phone and this voice went, \"Hello? Is that Alison?\"", 301 | "Network_cn": "我拿起电话,就听到这个声音:“喂?是艾利森吗?”", 302 | "tts_mp3": "http://res-tts.iciba.com/tts_new_dj//9/c/5/9c5d0ff9b35eebb6513dedcbebd1dab2.mp3", 303 | "tts_size": "23K", 304 | "source_type": 0, 305 | "source_id": 0, 306 | "source_title": "普通双语例句" 307 | }, 308 | { 309 | "Network_id": "2316006", 310 | "Network_en": "A moment later, Cohen picked up the phone. \"Hello?\"", 311 | "Network_cn": "过了一会儿,科恩接起电话。“喂?”", 312 | "tts_mp3": "http://res-tts.iciba.com/tts_new_dj//3/2/a/32afb35883a6db321dc9fbfb1bce03b0.mp3", 313 | "tts_size": "19K", 314 | "source_type": 0, 315 | "source_id": 0, 316 | "source_title": "普通双语例句" 317 | }, 318 | { 319 | "Network_id": "2370456", 320 | "Network_en": "\"Hello, I don't think we've met,\" Robert introduced himself.", 321 | "Network_cn": "“你好,我想我们还没有见过吧,”罗伯特自我介绍道。", 322 | "tts_mp3": "http://res-tts.iciba.com/tts_new_dj//d/d/4/dd4e191c23a5f6e41416d1cbbe9da999.mp3", 323 | "tts_size": "20K", 324 | "source_type": 0, 325 | "source_id": 0, 326 | "source_title": "普通双语例句" 327 | } 328 | ], 329 | "netmean": { 330 | "PerfectNetExp": [ 331 | { 332 | "id": "13356", 333 | "key": "hello", 334 | "exp": "你好", 335 | "url": "http://wenku.baidu.com/view/17275e1252d380eb62946d48.html", 336 | "bas": 17040, 337 | "abs": "小学英语单词表_百度文库 ... Module 4 let′s 让我们 Hello 你好 Goodbye 再见." 338 | }, 339 | { 340 | "id": "30576", 341 | "key": "hello", 342 | "exp": "哈罗", 343 | "url": "http://xh.5156edu.com/html3/5555.html", 344 | "bas": 6806, 345 | "abs": "哈字的解释---在线新华字典 ... 哈雷彗星〖 Halley’scomet;theHalleyComet〗 哈罗〖 hello〗 哈密〖 Kumul;Hami〗." 346 | }, 347 | { 348 | "id": "65650", 349 | "key": "hello", 350 | "exp": "喂", 351 | "url": "http://www.docin.com/p-206550454.html", 352 | "bas": 2880, 353 | "abs": "初中英语单词表大全2182个带音标 - 豆丁网 ... fifteen 十五 44 hello 喂(问候或唤起注意) 45 please 请 46." 354 | }, 355 | { 356 | "id": "121482", 357 | "key": "hello", 358 | "exp": "您好", 359 | "url": "http://wenku.baidu.com/view/39b6ca41336c1eb91a375dcd.html", 360 | "bas": 1344, 361 | "abs": "做一个有道德的人_百度文库 ... 晚安! 6、老师再见! see you everyone! 、 “您好”“ ”“ Hello” “请”“ ”“ please”." 362 | } 363 | ], 364 | "RelatedPhrase": [ 365 | { 366 | "word": "hello kitty", 367 | "list": [ 368 | { 369 | "id": "98200", 370 | "key": "hello kitty", 371 | "exp": "凯蒂猫", 372 | "url": "http://dj.iciba.com", 373 | "bas": 1756, 374 | "abs": "why hello kitty has no mouth ., 凯蒂猫为什么没有嘴巴." 375 | } 376 | ] 377 | }, 378 | { 379 | "word": "hello summer", 380 | "list": [ 381 | { 382 | "id": "9325", 383 | "key": "hello summer", 384 | "exp": "夏日甜心", 385 | "url": "http://www.youtube.com/playlist?list=PLMxdtc9UYU_rdstX2KeqsoF2-UmkwYtDc", 386 | "bas": 25873, 387 | "abs": "武艺Philip ✰... ... 2011 Dare - As One 敢不敢之在一起 2011 Hello Summer 夏日甜心 2010 Begin To Understand 开始懂了." 388 | } 389 | ] 390 | }, 391 | { 392 | "word": "say hello", 393 | "list": [ 394 | { 395 | "id": "323744", 396 | "key": "say hello", 397 | "exp": "打招呼", 398 | "url": "http://www.chinajiaoan.cn/you3/onews9.asp?id=3746", 399 | "bas": 368, 400 | "abs": "大班英语(学习单词)—幼儿园大班英语教案 ... 5. say good bye( 说再见)。 1. say hello( 打招呼): 2. warm up( 热身运动):." 401 | } 402 | ] 403 | }, 404 | { 405 | "word": "hello baby", 406 | "list": [ 407 | { 408 | "id": "19439", 409 | "key": "hello baby", 410 | "exp": "哈罗宝贝", 411 | "url": "http://tw.mag.cnyes.com/Content/20110113/F13FC3E6257749BBAF082DA7DB6474EF.shtml", 412 | "bas": 11299, 413 | "abs": "目前旗下自有品牌有贝喜力克(Basilic)与哈罗宝贝(Hello Baby),产品则专注于奶嘴、奶瓶、奶粉盒、喂药器与固齿器等小型婴幼 …" 414 | }, 415 | { 416 | "id": "40617", 417 | "key": "hello baby", 418 | "exp": "你好宝贝", 419 | "url": "http://zhidao.baidu.com/question/168012638.html", 420 | "bas": 4983, 421 | "abs": "求英语翻译_百度知道 ... courage to hug 拥抱的勇气 hello baby 你好宝贝 to cuddle 相拥而卧." 422 | } 423 | ] 424 | } 425 | ] 426 | }, 427 | "synonym": [ 428 | { 429 | "part_name": "n.", 430 | "means": [ 431 | { 432 | "word_mean": "表示问候", 433 | "cis": [ 434 | "greetings", 435 | "good", 436 | "salutations", 437 | "day" 438 | ] 439 | } 440 | ] 441 | }, 442 | { 443 | "part_name": "", 444 | "means": [ 445 | { 446 | "word_mean": "其他释义", 447 | "cis": [ 448 | "day", 449 | "salute", 450 | "greeting", 451 | "salutation", 452 | "good" 453 | ] 454 | } 455 | ] 456 | } 457 | ], 458 | "encyclopedia": { 459 | "image": "", 460 | "url": "http://baike.baidu.com/view/4741.htm", 461 | "content": " 演唱:莱昂纳尔·里奇(Lionel Richie) 这是一首85年的冠军金曲 HELLO I've been alone with you inside my mind And in my dreams I've kissed your lips a thousand times I sometimes see you pass outside my door Hello, is it me you're looking for? I can see it in your eyes I can see it in your smile You're all I've ever wanted, (and) my arms are open wide 'Cause you know just what to say And you know jus" 462 | }, 463 | "collins": [ 464 | { 465 | "entry": [ 466 | { 467 | "posp": "CONVENTION", 468 | "tran": "哈罗;你好", 469 | "def": "You say 'Hello' to someone when you meet them.", 470 | "example": [ 471 | { 472 | "ex": "Hello, Trish...", 473 | "tran": "你好,特里茜。", 474 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/8/6/4/864e12ad6ce80d24e1ba37e053926db9.mp3", 475 | "tts_size": "7K" 476 | }, 477 | { 478 | "ex": "Do you want to pop your head in and say hallo to my girlfriend?", 479 | "tran": "你要不要进来和我女友打个招呼?", 480 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/8/9/a/89a65a15f9484c27baa044eaaae6aa5e.mp3", 481 | "tts_size": "18K" 482 | } 483 | ] 484 | }, 485 | { 486 | "posp": "CONVENTION", 487 | "tran": "(打电话时的招呼语)喂", 488 | "def": "You say 'Hello' to someone at the beginning of a telephone conversation, either when you answer the phone or before you give your name or say why you are phoning.", 489 | "example": [ 490 | { 491 | "ex": "A moment later, Cohen picked up the phone. 'Hello?'", 492 | "tran": "过了一会儿,科恩接起电话。“喂?”", 493 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/5/d/0/5d0adc572a923f70295005dad2c016ef.mp3", 494 | "tts_size": "19K" 495 | }, 496 | { 497 | "ex": "Hallo, may I speak to Frank, please.", 498 | "tran": "喂,我找弗兰克。", 499 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/7/f/7/7f7ecf52c91adc778a7f830e82abf9c5.mp3", 500 | "tts_size": "15K" 501 | } 502 | ] 503 | }, 504 | { 505 | "posp": "CONVENTION", 506 | "tran": "(用于引起别人注意)喂", 507 | "def": "You can call 'hello' to attract someone's attention.", 508 | "example": [ 509 | { 510 | "ex": "She could see the open door of a departmental office. 'Hello! Excuse me. This is the department of French, isn't it?'...", 511 | "tran": "她看到一个系办公室的门开着。“喂!请问,这是法语系,对吗?”", 512 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/b/6/f/b6fec747bebb7612e7c87284c50443a4.mp3", 513 | "tts_size": "46K" 514 | }, 515 | { 516 | "ex": "Very softly, she called out: 'Hallo? Who's there?'", 517 | "tran": "她轻声细气喊道:“喂?有人吗?”", 518 | "tts_mp3": "http://res-tts.iciba.com/tts_dj/1/8/1/1813d136cd08698cd45940c3e8b72bce.mp3", 519 | "tts_size": "20K" 520 | } 521 | ] 522 | } 523 | ] 524 | } 525 | ], 526 | "ee_mean": [ 527 | { 528 | "part_name": "Noun", 529 | "means": [ 530 | { 531 | "word_mean": "1. an expression of greeting;", 532 | "sentences": [ 533 | { 534 | "sentence": "\"every morning they exchanged polite hellos\"" 535 | } 536 | ] 537 | } 538 | ] 539 | } 540 | ], 541 | "auth_sentence": [ 542 | { 543 | "id": "22993", 544 | "content": "Hello - some responses to some of your points.", 545 | "link": "http://www.bbc.co.uk/blogs/theeditors/2007/05/suggestions_box.html", 546 | "short_link": "http://www.bbc.co.uk/8kw5s", 547 | "source": "BBC", 548 | "score": "1", 549 | "cache_status": "1", 550 | "tts_mp3": "http://res-tts.iciba.com/tts_authority/7/4/5/74562d88262e506cebe79879155c345d.mp3", 551 | "tts_size": "15.0", 552 | "diff": "2", 553 | "oral": "1", 554 | "res_content": "Hello - some responses to some of your points.", 555 | "res_content_con": "Hello - some responses to some of your points.", 556 | "res_key": "74562d88262e506cebe79879155c345d", 557 | "source_type": 0, 558 | "source_id": 0, 559 | "source_title": "普通权威例句" 560 | }, 561 | { 562 | "id": "58450", 563 | "content": "Hello, focus on what's important in life.", 564 | "link": "http://online.wsj.com/community/86b3f6ab-6a73-4d5a-b5b4-09c6da4b7a5e/activity", 565 | "short_link": "http://asia.wsj.com/yyjsn", 566 | "source": "WSJ", 567 | "score": "1", 568 | "cache_status": "1", 569 | "tts_mp3": "http://res-tts.iciba.com/tts_authority/4/5/9/45925c53c74f0554e794ef1301dc7da6.mp3", 570 | "tts_size": "15.0", 571 | "diff": "1", 572 | "oral": "1", 573 | "res_content": "Hello, focus on what's important in life.", 574 | "res_content_con": "Hello, focus on what's important in life.", 575 | "res_key": "45925c53c74f0554e794ef1301dc7da6", 576 | "source_type": 0, 577 | "source_id": 0, 578 | "source_title": "普通权威例句" 579 | }, 580 | { 581 | "id": "93924", 582 | "content": "I say hello and offer a hand in greeting.", 583 | "link": "http://www.thetimes.co.uk/tto/life/article3592197.ece", 584 | "short_link": "http://www.thetimes.co.uk/82buh", 585 | "source": "THETIMES", 586 | "score": "1", 587 | "cache_status": "1", 588 | "tts_mp3": "http://res-tts.iciba.com/tts_authority/e/4/7/e474cdfb8c160c66794037b75eb2be5b.mp3", 589 | "tts_size": "13.0", 590 | "diff": "1", 591 | "oral": "0", 592 | "res_content": "I say hello and offer a hand in greeting.", 593 | "res_content_con": "I say hello and offer a hand in greeting.", 594 | "res_key": "e474cdfb8c160c66794037b75eb2be5b", 595 | "source_type": 0, 596 | "source_id": 0, 597 | "source_title": "普通权威例句" 598 | } 599 | ], 600 | "bidec": { 601 | "word_name": "hello", 602 | "parts": [ 603 | { 604 | "part_name": "interj.", 605 | "word_id": "20092", 606 | "part_id": "26780", 607 | "means": [ 608 | { 609 | "word_mean": "喂", 610 | "part_id": "26780", 611 | "mean_id": "50506", 612 | "sentences": [ 613 | { 614 | "en": "Hello, Brooks!How are you?", 615 | "cn": "喂, 布鲁克斯!你好吗?" 616 | } 617 | ] 618 | } 619 | ] 620 | } 621 | ] 622 | }, 623 | "jushi": [ 624 | { 625 | "english": "Hello,Brooks!How are you?", 626 | "chinese": "喂,布鲁克斯!你好吗?", 627 | "mp3": "http://res-tts.iciba.com/tts_synusage/c/2/2/c22734dcdc231e646434c320d81740b4.mp3" 628 | }, 629 | { 630 | "english": "Hello, who is speaking, please?", 631 | "chinese": "喂,请问是谁呀?", 632 | "mp3": "http://res-tts.iciba.com/tts_synusage/b/7/3/b738ffa4f7de074f7916df487d0e10e6.mp3" 633 | }, 634 | { 635 | "english": "Hello!Is there anybody there?", 636 | "chinese": "喂!有人吗?", 637 | "mp3": "http://res-tts.iciba.com/tts_synusage/6/e/4/6e460d1cdd682c180949c39bed30faee.mp3" 638 | } 639 | ], 640 | "_word_flag": 1, 641 | "exchanges": [ 642 | "hellos", 643 | "hello" 644 | ] 645 | } 646 | 647 | 解析: 648 | 649 | - `errno`:请求成功时返回 `0` 650 | - `errmsg`:请求失败时返回错误信息,否则返回 `success` 651 | - `baseInfo`:基础信息 652 | - `word_name`: 653 | - `exchange`:其他形式 654 | - `word_pl`:复数形式 655 | - `word_third`:第三人称单数 656 | - `word_past`:过去分词 657 | - `word_done`:现在分词 658 | - `word_ing`:正在进行时 659 | - `word_er`:比较式 660 | - `word_est`:最高级 661 | - `word_prep`:介词形式 662 | - `word_adv`:副词形式 663 | - `word_verb`:动词形式 664 | - `word_noun`:名词形式 665 | - `word_adj`:形容词形式 666 | - `word_conn`:连词形式 667 | - `symbols`:发音信息 668 | - `ph_en`:美式英标 669 | - `ph_am`:英式音标 670 | - `ph_en_mp3`:英式发音 671 | - `ph_am_mp3`: 672 | - `parts`:词性信息,同[联想](#associate) 673 | - `sameAnalysis`:简单分析 674 | - `part_name`:解释 675 | - `means`:释义列表 676 | - `word_list`:相近含义单词 677 | - `means`:相近含义单词释义 678 | - ... // 后续太长,笔者此处不做扩展,详情可对照网页和 json 自行解析 679 | 680 |

翻译

681 | 682 | url:http://fy.iciba.com/ajax.php 683 | 684 | 拼接参数: 685 | 686 | - `a`:固定值 `fy` 687 | - `f`:原文内容类型,日语取 `ja`,中文取 `zh`,英语取 `en`,韩语取 `ko`,德语取 `de`,西班牙语取 `es`,法语取 `fr`,自动则取 `auto` 688 | - `t`:译文内容类型,日语取 `ja`,中文取 `zh`,英语取 `en`,韩语取 `ko`,德语取 `de`,西班牙语取 `es`,法语取 `fr`,自动则取 `auto` 689 | - `w`:查询内容 690 | 691 | url 示例:[`http://fy.iciba.com/ajax.php?a=fy&f=auto&t=auto&w=hello%20world`](http://fy.iciba.com/ajax.php?a=fy&f=auto&t=auto&w=hello%20world) 692 | 693 | json 示例: 694 | 695 | { 696 | "status": 1, 697 | "content": { 698 | "from": "en-EU", 699 | "to": "zh-CN", 700 | "vendor": "baidu", 701 | "out": "你好世界
", 702 | "err_no": 0 703 | } 704 | } 705 | 706 | 解析: 707 | 708 | - `status`:请求成功时则取 `1` 709 | - `content`:内容信息 710 | - `from`:原文内容类型 711 | - `to`:译文内容类型 712 | - `vendor`:来源平台 713 | - `out`:译文内容 714 | - `err_no`:请求成功时取 `0` -------------------------------------------------------------------------------- /Livideo.md: -------------------------------------------------------------------------------- 1 | # 梨视频 # 2 | - [列表获取](#listGet) 3 | - [首页](#home) 4 | - [头条](#head) 5 | - [头条详细内容](#head_details) 6 | 7 |

列表获取

8 | 9 | url:[`http://app.pearvideo.com/clt/jsp/v2/domainList.jsp?type=ALL`](http://app.pearvideo.com/clt/jsp/v2/domainList.jsp?type=ALL) 10 | 11 | 请求方式:GET 12 | 13 | json 示例: 14 | 15 | { 16 | "resultCode": "1", 17 | "resultMsg": "success", 18 | "reqId": "9de2e3fc-46d7-4341-8997-5c773678ea85", 19 | "systemTime": "1492152517376", 20 | "sex": "", 21 | "domainList": [ 22 | { 23 | "domainId": "5", 24 | "name": "资讯", 25 | "selected": "0" 26 | }, 27 | { 28 | "domainId": "8", 29 | "name": "娱乐", 30 | "selected": "0" 31 | }, 32 | { 33 | "domainId": "12", 34 | "name": "社会", 35 | "selected": "0" 36 | }, 37 | { 38 | "domainId": "22", 39 | "name": "美食", 40 | "selected": "0" 41 | }, 42 | { 43 | "domainId": "21", 44 | "name": "搞笑", 45 | "selected": "0" 46 | }, 47 | { 48 | "domainId": "2", 49 | "name": "科技", 50 | "selected": "0" 51 | }, 52 | { 53 | "domainId": "1", 54 | "name": "体育", 55 | "selected": "0" 56 | }, 57 | { 58 | "domainId": "13", 59 | "name": "财经", 60 | "selected": "0" 61 | }, 62 | { 63 | "domainId": "3", 64 | "name": "军事", 65 | "selected": "0" 66 | }, 67 | { 68 | "domainId": "7", 69 | "name": "知识", 70 | "selected": "0" 71 | }, 72 | { 73 | "domainId": "9", 74 | "name": "生活", 75 | "selected": "0" 76 | }, 77 | { 78 | "domainId": "25", 79 | "name": "时尚", 80 | "selected": "0" 81 | }, 82 | { 83 | "domainId": "15", 84 | "name": "文化", 85 | "selected": "0" 86 | }, 87 | { 88 | "domainId": "20", 89 | "name": "情感", 90 | "selected": "0" 91 | }, 92 | { 93 | "domainId": "23", 94 | "name": "创意", 95 | "selected": "0" 96 | }, 97 | { 98 | "domainId": "14", 99 | "name": "历史", 100 | "selected": "0" 101 | }, 102 | { 103 | "domainId": "38", 104 | "name": "汽车", 105 | "selected": "0" 106 | }, 107 | { 108 | "domainId": "24", 109 | "name": "旅行", 110 | "selected": "0" 111 | }, 112 | { 113 | "domainId": "4", 114 | "name": "健康", 115 | "selected": "0" 116 | }, 117 | { 118 | "domainId": "26", 119 | "name": "亲子", 120 | "selected": "0" 121 | }, 122 | { 123 | "domainId": "27", 124 | "name": "萌宠", 125 | "selected": "0" 126 | }, 127 | { 128 | "domainId": "19", 129 | "name": "人物", 130 | "selected": "0" 131 | }, 132 | { 133 | "domainId": "30", 134 | "name": "纪录", 135 | "selected": "0" 136 | }, 137 | { 138 | "domainId": "29", 139 | "name": "家居", 140 | "selected": "0" 141 | }, 142 | { 143 | "domainId": "28", 144 | "name": "暖闻", 145 | "selected": "0" 146 | } 147 | ] 148 | } 149 | 150 | json 解析: 151 | 152 |

首页

153 | 154 | 155 | url:[`http://app.pearvideo.com/clt/jsp/v2/home.jsp?lastLikeIds=1063871%2C1063985%2C1064069%2C1064123%2C1064078%2C1064186%2C1062372%2C1064164%2C1064081%2C1064176%2C1064070%2C1064019`](http://app.pearvideo.com/clt/jsp/v2/home.jsp?lastLikeIds=1063871%2C1063985%2C1064069%2C1064123%2C1064078%2C1064186%2C1062372%2C1064164%2C1064081%2C1064176%2C1064070%2C1064019) 156 | 157 | 请求方式:GET 158 | 159 | 请求头: 160 | 161 | | 请求头 | 值 | 162 | | ------------- |:-------------:| 163 | | X-Channel-Code | 固定值 `official`,可为空 | 164 | | X-Client-Agent | 手机品牌,例如 Xiaomi,可为空 | 165 | | X-Client-Hash | 长度为32的小写字母和数字混合字符串,例`2f3d6ffkda95dlz2fhju8d3s6dfges3t`,可为空 | 166 | | X-Client-ID | 长度为的15数字字符串,例`123456789123456`,可为空 | 167 | | X-Client-Version | 为空即可 | 168 | | X-Long-Token | 为空即可 | 169 | | X-Platform-Type | 为空即可 | 170 | | X-Platform-Version | 为空即可 | 171 | | X-Serial-Num | Unix 时间戳 | 172 | | X-User-ID | 为空即可 | 173 | 174 | 请求头示例: 175 | 176 | X-Channel-Code:official 177 | X-Client-Agent:Xiaomi 178 | X-Client-Hash:2f3d6ffkda95dlz2fhju8d3s6dfges3t 179 | X-Client-ID:123456789123456 180 | X-Client-Version:2.3.2 181 | X-Long-Token: 182 | X-Platform-Type:0 183 | X-Platform-Version:5.0 184 | X-Serial-Num:1492140134 185 | X-User-ID: 186 | 187 | json 示例: 188 | 189 | json 解析: 190 | 191 | - `resultCode`:为`1`时表请求成功 192 | - `dataList`:具体数据 193 | - `nodeName`:所属板块,取值有`头条`、`为你推荐`、`全民拍客活动`、`最新视频`、`娱乐精选`等 194 | - `contList`:详细内容 195 | - `contId`:详细内容 id,用作查看[头条详细内容](#head_details) 196 | - `name`:标题 197 | - `pic`:图片 url 198 | - `nodeInfo`: 199 | - `name`:作者名 200 | - `duration`:时长 201 | - `cornerLabel`:视频类型代码 202 | - `cornerLabelDesc`:视频类型描述 203 | - `coverVideo`:视频播放地址 204 | - `praiseTimes`:点赞量 205 | 206 |

头条详细内容

207 | 208 | url:http://app.pearvideo.com/clt/jsp/v2/content.jsp 209 | 210 | 拼接参数: 211 | 212 | - `contId`:从[头条](#head) json 中 `contId` 字段获取到的值 213 | 214 | url 示例:[`http://app.pearvideo.com/clt/jsp/v2/content.jsp?contId=1064146`](http://app.pearvideo.com/clt/jsp/v2/content.jsp?contId=1064146) 215 | 216 | json 示例: 217 | 218 | { 219 | "resultCode": "1", 220 | "resultMsg": "success", 221 | "reqId": "215d100a-d167-47ee-8d27-fab609b36934", 222 | "systemTime": "1492153703690", 223 | "areaList": [ 224 | { 225 | "area_id": "200008", 226 | "expInfo": { 227 | "algorighm_exp_id": "", 228 | "front_exp_id": "0", 229 | "s_value": "8f8a74f4-d7bc-41f9-b442-1e5f74622f9b_2088549785888668" 230 | } 231 | } 232 | ], 233 | "content": { 234 | "contId": "1064146", 235 | "name": "她收养40流浪猫:让它们有尊严活着", 236 | "summary": "辽宁沈阳,73岁老太孔德荣,是远近闻名的“猫奶奶”,10年收养流浪猫40余只,月花销上千元,她说服儿子让出车库给猫咪住,想让它们活得有尊严。", 237 | "source": "", 238 | "pubTime": "2017-04-14 12:53", 239 | "isVr": "0", 240 | "aspectRatio": "0", 241 | "contentHtml": "", 242 | "liveHtml": "", 243 | "postHtml": "http://app.pearvideo.com/clt/page/v2/topic_comm.jsp?postId=1047857&type=living", 244 | "praiseTimes": "266", 245 | "commentTimes": "3", 246 | "isFavorited": "0", 247 | "pic": "http://image2.pearvideo.com/cont/20170414/cont-1064146-10255376.png", 248 | "postId": "1047857", 249 | "liveRoomId": "", 250 | "sharePic": "http://image.pearvideo.com/cont/20170414/cont-1064146-10255377.png", 251 | "shareUrl": "http://www.pearvideo.com/detail_1064146", 252 | "liveInfo": {}, 253 | "cornerLabel": "3", 254 | "cornerLabelDesc": "独播", 255 | "authors": [ 256 | { 257 | "userId": "10265801", 258 | "nickname": "泛 舟", 259 | "isPaike": "1", 260 | "paikeType": "1" 261 | } 262 | ], 263 | "tags": [ 264 | { 265 | "tagId": "1365", 266 | "name": "老人" 267 | }, 268 | { 269 | "tagId": "5390", 270 | "name": "好心人" 271 | }, 272 | { 273 | "tagId": "15721", 274 | "name": "流浪猫" 275 | } 276 | ], 277 | "videos": [ 278 | { 279 | "videoId": "10369556", 280 | "url": "http://video.pearvideo.com/mp4/short/20170414/cont-1064146-10369519-ld.mp4", 281 | "tag": "ld", 282 | "format": "mp4", 283 | "fileSize": "5913937", 284 | "duration": "117" 285 | }, 286 | { 287 | "videoId": "10369557", 288 | "url": "http://video.pearvideo.com/mp4/short/20170414/cont-1064146-10369519-fhd.mp4", 289 | "tag": "fhd", 290 | "format": "mp4", 291 | "fileSize": "36734910", 292 | "duration": "117" 293 | }, 294 | { 295 | "videoId": "10369558", 296 | "url": "http://video.pearvideo.com/mp4/short/20170414/cont-1064146-10369519-sd.mp4", 297 | "tag": "sd", 298 | "format": "mp4", 299 | "fileSize": "10265849", 300 | "duration": "117" 301 | }, 302 | { 303 | "videoId": "10369559", 304 | "url": "http://video.pearvideo.com/mp4/short/20170414/cont-1064146-10369519-hd.mp4", 305 | "tag": "hd", 306 | "format": "mp4", 307 | "fileSize": "19314179", 308 | "duration": "117" 309 | } 310 | ], 311 | "nodeInfo": { 312 | "nodeId": "25", 313 | "name": "一手Video", 314 | "logoImg": "http://image.pearvideo.com/node/25-10027890-logo.jpg", 315 | "isOrder": "0", 316 | "desc": "千万拍客为你现场播报" 317 | }, 318 | "copyright": "版权声明:本内容系梨视频独家,未经授权,不得转载", 319 | "isDownload": "1", 320 | "duration": "01'57\"", 321 | "adMonitorUrl": "" 322 | }, 323 | "nextInfo": { 324 | "contId": "1060885", 325 | "name": "车祸现场交警脱衣,上演温馨一幕", 326 | "forwordType": "1" 327 | }, 328 | "postInfo": { 329 | "postId": "1047857", 330 | "name": "“猫奶奶”十年收养40多只流浪猫", 331 | "commentTimes": "3", 332 | "communityInfo": { 333 | "communityId": "12", 334 | "name": "露一手", 335 | "logoImg": "http://imageugc2.pearvideo.com/community/12-10001210-logo.jpg" 336 | }, 337 | "isfavorited": "0", 338 | "postHtml": "http://app.pearvideo.com/clt/page/v2/topic_comm.jsp?postId=1047857&contId=1064146", 339 | "childList": [ 340 | { 341 | "commentId": "10324796", 342 | "content": "好人有好报!", 343 | "pubTime": "04-14 13:03", 344 | "topTimes": "1", 345 | "stepTimes": "2", 346 | "replyTimes": "0", 347 | "userInfo": { 348 | "userId": "10246234", 349 | "nickname": "鱼小胖", 350 | "isPaike": "0", 351 | "pic": "http://imageugc.pearvideo.com/user/20170214/10246234-210230.jpg" 352 | } 353 | }, 354 | { 355 | "commentId": "10324982", 356 | "content": "对待流浪猫最好的方式是抓捕——绝育——放归,对流浪猫来说这样都关在笼子里就有尊严了么", 357 | "pubTime": "04-14 14:04", 358 | "topTimes": "0", 359 | "stepTimes": "0", 360 | "replyTimes": "0", 361 | "userInfo": { 362 | "userId": "10091535", 363 | "nickname": "刘面瘫", 364 | "isPaike": "0", 365 | "pic": "http://imageugc.pearvideo.com/user/20161224/10091535-123600.jpg" 366 | } 367 | }, 368 | { 369 | "commentId": "10324977", 370 | "content": "人为出名无所不能", 371 | "pubTime": "04-14 13:56", 372 | "topTimes": "0", 373 | "stepTimes": "0", 374 | "replyTimes": "0", 375 | "userInfo": { 376 | "userId": "10558703", 377 | "nickname": "良", 378 | "isPaike": "0", 379 | "pic": "http://imageugc.pearvideo.com/user/20170413/10558703-213237.jpg" 380 | } 381 | } 382 | ] 383 | }, 384 | "relateConts": [ 385 | { 386 | "contId": "1060885", 387 | "name": "车祸现场交警脱衣,上演温馨一幕", 388 | "pic": "http://image2.pearvideo.com/cont/20170408/cont-1060885-10241849.png", 389 | "nodeInfo": { 390 | "nodeId": "25", 391 | "name": "一手Video", 392 | "logoImg": "http://image.pearvideo.com/node/25-10027890-logo.jpg" 393 | }, 394 | "link": "http://", 395 | "linkType": "0", 396 | "cornerLabel": "3", 397 | "cornerLabelDesc": "独播", 398 | "forwordType": "1", 399 | "videoType": "1", 400 | "duration": "00'51\"", 401 | "liveStatus": "", 402 | "praiseTimes": "63" 403 | }, 404 | { 405 | "contId": "1054359", 406 | "name": "感动!他竟然是这样给猫过生日的!", 407 | "pic": "http://image1.pearvideo.com/cont/20170327/cont-1054359-10215505.png", 408 | "nodeInfo": { 409 | "nodeId": "189", 410 | "name": "上海街头", 411 | "logoImg": "http://image1.pearvideo.com/node/189-10070077-logo.png" 412 | }, 413 | "link": "http://", 414 | "linkType": "0", 415 | "cornerLabel": "", 416 | "cornerLabelDesc": "", 417 | "forwordType": "1", 418 | "videoType": "1", 419 | "duration": "04'12\"", 420 | "liveStatus": "", 421 | "praiseTimes": "20" 422 | }, 423 | { 424 | "contId": "1017920", 425 | "name": "理发只收1元,老人坚持了23年", 426 | "pic": "http://image2.pearvideo.com/cont/20161222/cont-1017920-10075253.jpg", 427 | "nodeInfo": { 428 | "nodeId": "9", 429 | "name": "微辣Video", 430 | "logoImg": "http://image2.pearvideo.com/node/9-10027910-logo.jpg" 431 | }, 432 | "link": "http://", 433 | "linkType": "0", 434 | "cornerLabel": "", 435 | "cornerLabelDesc": "", 436 | "forwordType": "1", 437 | "videoType": "1", 438 | "duration": "01'05\"", 439 | "liveStatus": "", 440 | "praiseTimes": "5" 441 | }, 442 | { 443 | "contId": "1019106", 444 | "name": "老人除雪17年,因儿子雪天车祸离世", 445 | "pic": "http://image1.pearvideo.com/cont/20161227/cont-1019106-10080103.png", 446 | "nodeInfo": { 447 | "nodeId": "25", 448 | "name": "一手Video", 449 | "logoImg": "http://image.pearvideo.com/node/25-10027890-logo.jpg" 450 | }, 451 | "link": "http://", 452 | "linkType": "0", 453 | "cornerLabel": "3", 454 | "cornerLabelDesc": "独播", 455 | "forwordType": "1", 456 | "videoType": "1", 457 | "duration": "01'42\"", 458 | "liveStatus": "", 459 | "praiseTimes": "42" 460 | }, 461 | { 462 | "contId": "1046947", 463 | "name": "他流浪一生,88岁终于住进敬老院", 464 | "pic": "http://image2.pearvideo.com/cont/20170313/cont-1046947-10186541.png", 465 | "nodeInfo": { 466 | "nodeId": "25", 467 | "name": "一手Video", 468 | "logoImg": "http://image.pearvideo.com/node/25-10027890-logo.jpg" 469 | }, 470 | "link": "http://", 471 | "linkType": "0", 472 | "cornerLabel": "5", 473 | "cornerLabelDesc": "推荐", 474 | "forwordType": "1", 475 | "videoType": "1", 476 | "duration": "01'04\"", 477 | "liveStatus": "", 478 | "praiseTimes": "93" 479 | }, 480 | { 481 | "contId": "1062475", 482 | "name": "拾荒老父再流浪:捡瓶换馍,不找女儿", 483 | "pic": "http://image1.pearvideo.com/cont/20170411/cont-1062475-10248622.png", 484 | "nodeInfo": { 485 | "nodeId": "25", 486 | "name": "一手Video", 487 | "logoImg": "http://image.pearvideo.com/node/25-10027890-logo.jpg" 488 | }, 489 | "link": "http://", 490 | "linkType": "0", 491 | "cornerLabel": "3", 492 | "cornerLabelDesc": "独播", 493 | "forwordType": "1", 494 | "videoType": "1", 495 | "duration": "02'54\"", 496 | "liveStatus": "", 497 | "praiseTimes": "5428" 498 | } 499 | ] 500 | } 501 | 502 | json 解析: 503 | 504 | - `resultCode`:为`1`时表请求成功 505 | - `content`:视频具体内容 506 | - `name`:视频标题 507 | - `summary`:视频描述 508 | - `pubTime`:视频上传时间 509 | - `tags`:标签 510 | - `relateConts`:相关视频 511 | - `postInfo`:其他信息 512 | - `childList`:评论信息 513 | - `commentId`:评论 id 514 | - `content`:评论内容 515 | - `pubTime`:评论时间 516 | - `topTimes`:顶的数量 517 | - `stepTimes`:踩的数量 518 | - `userInfo`:评论者信息 519 | - `replyTimes`:回复评论的数量 520 | - `videos`:各个版本视频连接 521 | - `url`:视频地址 522 | - `tag`:视频清晰度 523 | - `duration`:视频时长 524 | - `fileSize`:视频大小 -------------------------------------------------------------------------------- /MeizuWeather.md: -------------------------------------------------------------------------------- 1 | 请求参数中需要使用到城市 id,分为两种:一种是市级城市,[戳我查看 json](https://github.com/jokermonn/-Api/blob/master/Meizu_cities.json);一种是县级城市,[戳我查看 json](https://github.com/jokermonn/-Api/blob/master/Meizu_city.json) 2 | 3 |

魅族天气

4 | 5 | url:http://aider.meizu.com/app/weather/listWeather?cityIds= + 城市 id 6 | 7 | ps:注意,该 url 可携带多个 `cityIds` 参数以此一次性返回多个城市的天气信息 8 | 9 | url 示例:[`http://aider.meizu.com/app/weather/listWeather?cityIds=101240101`](http://aider.meizu.com/app/weather/listWeather?cityIds=101240101) 10 | 11 | json 示例: 12 | 13 | { 14 | "code": "200", 15 | "message": "", 16 | "redirect": "", 17 | "value": [ 18 | { 19 | "alarms": [], 20 | "city": "南昌", 21 | "cityid": 101240101, 22 | "indexes": [ 23 | { 24 | "abbreviation": "zs", 25 | "alias": "", 26 | "content": "温度不高,其他各项气象条件适宜,中暑机率极低。", 27 | "level": "无", 28 | "name": "中暑指数" 29 | }, 30 | { 31 | "abbreviation": "ys", 32 | "alias": "", 33 | "content": "天气较好,不会降水,因此您可放心出门,无须带雨伞。", 34 | "level": "不带伞", 35 | "name": "雨伞指数" 36 | }, 37 | { 38 | "abbreviation": "yh", 39 | "alias": "", 40 | "content": "天气较好,和恋人一起徜徉于熙攘人群中或漫步于柔软草地上,都是不错的主意哦。", 41 | "level": "适宜", 42 | "name": "约会指数" 43 | }, 44 | { 45 | "abbreviation": "yd", 46 | "alias": "", 47 | "content": "天气较好,但考虑气温较低,推荐您进行室内运动,若户外适当增减衣物并注意防晒。", 48 | "level": "较适宜", 49 | "name": "运动指数" 50 | }, 51 | { 52 | "abbreviation": "xq", 53 | "alias": "", 54 | "content": "天气较好,温度适宜,心情会不错,学习、工作效率较高。", 55 | "level": "较好", 56 | "name": "心情指数" 57 | }, 58 | { 59 | "abbreviation": "xc", 60 | "alias": "", 61 | "content": "不宜洗车,未来24小时内有雨,如果在此期间洗车,雨水和路上的泥水可能会再次弄脏您的爱车。", 62 | "level": "不宜", 63 | "name": "洗车指数" 64 | }, 65 | { 66 | "abbreviation": "wc", 67 | "alias": "", 68 | "content": "温度未达到风寒所需的低温,稍作防寒准备即可。", 69 | "level": "无", 70 | "name": "风寒指数" 71 | }, 72 | { 73 | "abbreviation": "uv", 74 | "alias": "", 75 | "content": "属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。", 76 | "level": "最弱", 77 | "name": "紫外线强度指数" 78 | }, 79 | { 80 | "abbreviation": "tr", 81 | "alias": "", 82 | "content": "天气较好,但丝毫不会影响您出行的心情。温度适宜又有微风相伴,适宜旅游。", 83 | "level": "适宜", 84 | "name": "旅游指数" 85 | }, 86 | { 87 | "abbreviation": "pp", 88 | "alias": "", 89 | "content": "风力不大,建议用中性保湿型霜类化妆品,无需选用防晒化妆品。", 90 | "level": "保湿", 91 | "name": "化妆指数" 92 | }, 93 | { 94 | "abbreviation": "pl", 95 | "alias": "", 96 | "content": "气象条件对空气污染物稀释、扩散和清除无明显影响,易感人群应适当减少室外活动时间。", 97 | "level": "中", 98 | "name": "空气污染扩散条件指数" 99 | }, 100 | { 101 | "abbreviation": "pk", 102 | "alias": "", 103 | "content": "天气不错,风略小,选择合适的地点,还是较适宜放风筝的。", 104 | "level": "较适宜", 105 | "name": "放风筝指数" 106 | }, 107 | { 108 | "abbreviation": "pj", 109 | "alias": "", 110 | "content": "适量的饮用啤酒可能会更增加您舒适的感觉,但要注意千万不要过量呦。", 111 | "level": "较适宜", 112 | "name": "啤酒指数" 113 | }, 114 | { 115 | "abbreviation": "nl", 116 | "alias": "", 117 | "content": "有风,且有降水,会给您的出行带来很大的不便,建议就近或最好在室内进行夜生活。", 118 | "level": "较不适宜", 119 | "name": "夜生活指数" 120 | }, 121 | { 122 | "abbreviation": "mf", 123 | "alias": "", 124 | "content": "出门前要在头发上涂上含防晒和滋润成分的护发品,或备好遮阳帽、遮阳伞,以减轻太阳对头发的直接照射。", 125 | "level": "一般", 126 | "name": "美发指数" 127 | }, 128 | { 129 | "abbreviation": "ls", 130 | "alias": "", 131 | "content": "天气不错,适宜晾晒。赶紧把久未见阳光的衣物搬出来吸收一下太阳的味道吧!", 132 | "level": "适宜", 133 | "name": "晾晒指数" 134 | }, 135 | { 136 | "abbreviation": "lk", 137 | "alias": "", 138 | "content": "天气较好,路面比较干燥,路况较好。", 139 | "level": "干燥", 140 | "name": "路况指数" 141 | }, 142 | { 143 | "abbreviation": "jt", 144 | "alias": "", 145 | "content": "天气较好,路面干燥,交通气象条件良好,车辆可以正常行驶。", 146 | "level": "良好", 147 | "name": "交通指数" 148 | }, 149 | { 150 | "abbreviation": "hc", 151 | "alias": "", 152 | "content": "白天天气较好,适宜划船或嬉玩各种水上运动。", 153 | "level": "适宜", 154 | "name": "划船指数" 155 | }, 156 | { 157 | "abbreviation": "gm", 158 | "alias": "", 159 | "content": "昼夜温差很大,易发生感冒,请注意适当增减衣服,加强自我防护避免感冒。", 160 | "level": "易发", 161 | "name": "感冒指数" 162 | }, 163 | { 164 | "abbreviation": "gj", 165 | "alias": "", 166 | "content": "天气较好,在这种天气里去逛街,既可畅快地放松身心,又会有很多意外收获,真是无比惬意。", 167 | "level": "适宜", 168 | "name": "逛街指数" 169 | }, 170 | { 171 | "abbreviation": "fs", 172 | "alias": "", 173 | "content": "属弱紫外辐射天气,长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。", 174 | "level": "弱", 175 | "name": "防晒指数" 176 | }, 177 | { 178 | "abbreviation": "dy", 179 | "alias": "", 180 | "content": "白天风和日丽,适宜垂钓,渺渺蓝天,悠悠白云将陪伴你度过愉快的垂钓时光。", 181 | "level": "适宜", 182 | "name": "钓鱼指数" 183 | }, 184 | { 185 | "abbreviation": "ct", 186 | "alias": "", 187 | "content": "建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物,宜着夹克衫、薄毛衣等。", 188 | "level": "较舒适", 189 | "name": "穿衣指数" 190 | }, 191 | { 192 | "abbreviation": "co", 193 | "alias": "", 194 | "content": "白天不太热也不太冷,风力不大,相信您在这样的天气条件下,应会感到比较清爽和舒适。", 195 | "level": "舒适", 196 | "name": "舒适度指数" 197 | }, 198 | { 199 | "abbreviation": "cl", 200 | "alias": "", 201 | "content": "天气不错,空气清新,是您晨练的大好时机,建议不同年龄段的人们积极参加户外健身活动。", 202 | "level": "适宜", 203 | "name": "晨练指数" 204 | }, 205 | { 206 | "abbreviation": "ag", 207 | "alias": "", 208 | "content": "天气条件极不易诱发过敏,可放心外出,享受生活。", 209 | "level": "极不易发", 210 | "name": "过敏指数" 211 | }, 212 | { 213 | "abbreviation": "ac", 214 | "alias": "", 215 | "content": "您将感到很舒适,一般不需要开启空调。", 216 | "level": "较少开启", 217 | "name": "空调开启指数" 218 | } 219 | ], 220 | "pm25": { 221 | "advice": "", 222 | "aqi": "83", 223 | "citycount": 1767, 224 | "cityrank": 54, 225 | "co": "0.0", 226 | "color": "", 227 | "level": "0", 228 | "no2": "0", 229 | "o3": "0", 230 | "pm10": "21", 231 | "pm25": "61", 232 | "quality": "良", 233 | "so2": "0", 234 | "timestamp": "0", 235 | "upDateTime": "2017-02-18 15:00:00" 236 | }, 237 | "provinceName": "江西省", 238 | "realtime": { 239 | "img": "1", 240 | "sD": "67", 241 | "sendibleTemp": "14", 242 | "temp": "14", 243 | "time": "2017-02-18 16:00:00", 244 | "wD": "东风", 245 | "wS": "2级", 246 | "weather": "多云", 247 | "ziwaixian": "N/A" 248 | }, 249 | "weatherDetailsInfo": { 250 | "publishTime": "2017-02-18 16:00:00", 251 | "weather3HoursDetailsInfos": [ 252 | { 253 | "endTime": "2017-02-18 17:00:00", 254 | "highestTemperature": "15", 255 | "img": "1", 256 | "isRainFall": "无降水", 257 | "lowerestTemperature": "15", 258 | "precipitation": "0", 259 | "startTime": "2017-02-18 14:00:00", 260 | "wd": "无持续风向", 261 | "weather": "多云", 262 | "ws": "0级" 263 | }, 264 | { 265 | "endTime": "2017-02-18 20:00:00", 266 | "highestTemperature": "15", 267 | "img": "1", 268 | "isRainFall": "无降水", 269 | "lowerestTemperature": "12", 270 | "precipitation": "0", 271 | "startTime": "2017-02-18 17:00:00", 272 | "wd": "无持续风向", 273 | "weather": "多云", 274 | "ws": "0级" 275 | }, 276 | { 277 | "endTime": "2017-02-18 23:00:00", 278 | "highestTemperature": "12", 279 | "img": "1", 280 | "isRainFall": "无降水", 281 | "lowerestTemperature": "10", 282 | "precipitation": "0", 283 | "startTime": "2017-02-18 20:00:00", 284 | "wd": "无持续风向", 285 | "weather": "多云", 286 | "ws": "0级" 287 | }, 288 | { 289 | "endTime": "2017-02-19 02:00:00", 290 | "highestTemperature": "10", 291 | "img": "1", 292 | "isRainFall": "无降水", 293 | "lowerestTemperature": "8", 294 | "precipitation": "0", 295 | "startTime": "2017-02-18 23:00:00", 296 | "wd": "无持续风向", 297 | "weather": "多云", 298 | "ws": "0级" 299 | }, 300 | { 301 | "endTime": "2017-02-19 05:00:00", 302 | "highestTemperature": "8", 303 | "img": "1", 304 | "isRainFall": "无降水", 305 | "lowerestTemperature": "8", 306 | "precipitation": "0", 307 | "startTime": "2017-02-19 02:00:00", 308 | "wd": "无持续风向", 309 | "weather": "多云", 310 | "ws": "0级" 311 | }, 312 | { 313 | "endTime": "2017-02-19 08:00:00", 314 | "highestTemperature": "9", 315 | "img": "1", 316 | "isRainFall": "无降水", 317 | "lowerestTemperature": "8", 318 | "precipitation": "0", 319 | "startTime": "2017-02-19 05:00:00", 320 | "wd": "无持续风向", 321 | "weather": "多云", 322 | "ws": "0级" 323 | }, 324 | { 325 | "endTime": "2017-02-19 11:00:00", 326 | "highestTemperature": "13", 327 | "img": "1", 328 | "isRainFall": "无降水", 329 | "lowerestTemperature": "9", 330 | "precipitation": "0", 331 | "startTime": "2017-02-19 08:00:00", 332 | "wd": "无持续风向", 333 | "weather": "多云", 334 | "ws": "0级" 335 | }, 336 | { 337 | "endTime": "2017-02-19 14:00:00", 338 | "highestTemperature": "20", 339 | "img": "1", 340 | "isRainFall": "无降水", 341 | "lowerestTemperature": "13", 342 | "precipitation": "0", 343 | "startTime": "2017-02-19 11:00:00", 344 | "wd": "无持续风向", 345 | "weather": "多云", 346 | "ws": "0级" 347 | }, 348 | { 349 | "endTime": "2017-02-19 17:00:00", 350 | "highestTemperature": "20", 351 | "img": "1", 352 | "isRainFall": "无降水", 353 | "lowerestTemperature": "15", 354 | "precipitation": "0", 355 | "startTime": "2017-02-19 14:00:00", 356 | "wd": "无持续风向", 357 | "weather": "多云", 358 | "ws": "0级" 359 | } 360 | ] 361 | }, 362 | "weathers": [ 363 | { 364 | "date": "2017-02-18", 365 | "img": "1", 366 | "sun_down_time": "18:08", 367 | "sun_rise_time": "06:51", 368 | "temp_day_c": "16", 369 | "temp_day_f": "60.8", 370 | "temp_night_c": "8", 371 | "temp_night_f": "46.4", 372 | "wd": "无持续风向", 373 | "weather": "多云", 374 | "week": "星期六", 375 | "ws": "0级" 376 | }, 377 | { 378 | "date": "2017-02-19", 379 | "img": "1", 380 | "sun_down_time": "18:09", 381 | "sun_rise_time": "06:51", 382 | "temp_day_c": "21", 383 | "temp_day_f": "69.8", 384 | "temp_night_c": "9", 385 | "temp_night_f": "48.2", 386 | "wd": "无持续风向", 387 | "weather": "多云", 388 | "week": "星期日", 389 | "ws": "0级" 390 | }, 391 | { 392 | "date": "2017-02-20", 393 | "img": "1", 394 | "sun_down_time": "18:10", 395 | "sun_rise_time": "06:50", 396 | "temp_day_c": "24", 397 | "temp_day_f": "75.2", 398 | "temp_night_c": "10", 399 | "temp_night_f": "50.0", 400 | "wd": "无持续风向", 401 | "weather": "多云", 402 | "week": "星期一", 403 | "ws": "0级" 404 | }, 405 | { 406 | "date": "2017-02-21", 407 | "img": "3", 408 | "sun_down_time": "18:10", 409 | "sun_rise_time": "06:49", 410 | "temp_day_c": "17", 411 | "temp_day_f": "62.6", 412 | "temp_night_c": "9", 413 | "temp_night_f": "48.2", 414 | "wd": "无持续风向", 415 | "weather": "阵雨", 416 | "week": "星期二", 417 | "ws": "0级" 418 | }, 419 | { 420 | "date": "2017-02-22", 421 | "img": "7", 422 | "sun_down_time": "18:11", 423 | "sun_rise_time": "06:48", 424 | "temp_day_c": "11", 425 | "temp_day_f": "51.8", 426 | "temp_night_c": "6", 427 | "temp_night_f": "42.8", 428 | "wd": "北风", 429 | "weather": "小雨", 430 | "week": "星期三", 431 | "ws": "1级" 432 | }, 433 | { 434 | "date": "2017-02-23", 435 | "img": "2", 436 | "sun_down_time": "18:12", 437 | "sun_rise_time": "06:47", 438 | "temp_day_c": "8", 439 | "temp_day_f": "46.4", 440 | "temp_night_c": "4", 441 | "temp_night_f": "39.2", 442 | "wd": "北风", 443 | "weather": "阴", 444 | "week": "星期四", 445 | "ws": "1级" 446 | }, 447 | { 448 | "date": "2017-02-17", 449 | "img": "1", 450 | "sun_down_time": "18:08", 451 | "sun_rise_time": "06:52", 452 | "temp_day_c": "21", 453 | "temp_day_f": "69.8", 454 | "temp_night_c": "10", 455 | "temp_night_f": "50.0", 456 | "wd": "无持续风向", 457 | "weather": "多云", 458 | "week": "星期五", 459 | "ws": "1级" 460 | } 461 | ] 462 | } 463 | ] 464 | } 465 | 466 | 解析: 467 | 468 | - `code`:访问成功时返回`200` 469 | - `message`:错误时将携带错误信息 470 | - `redirect`:??? 471 | - `value`:所有城市天气信息列表 472 | - `alarms`:天气预警??? 473 | - `city`:该城市名称 474 | - `cityid`:该城市 id 475 | - `indexes`:一些预警信息 476 | - `pm25`:pm2.5 信息 477 | - `advice`:建议 478 | - `aqi`:空气质量指数 479 | - `citycount`:城市总量 480 | - `cityrank`:空气质量指数超越城市百分比 481 | - `pm10`:pm10 指数 482 | - `pm25`:pm2.5 指数 483 | - `quality`:空气质量 484 | - `upDateTime`:更新时间 485 | - `provinceName`:所属省份 486 | - `realtime`:其他指数 487 | - `sD`:空气湿度百分比 488 | - `sendibleTemp` 或 `temp`:体感温度 489 | - `time`:更新时间 490 | - `wD`:风向 491 | - `wS`:风力大小 492 | - `weather`:天气情况 493 | - `weatherDetailsInfo`:天气情况细节 494 | - `publishTime`:更新时间 495 | - `weather3HoursDetailsInfos`:未来天气情况细节(以三个小时为单位) 496 | - `endTime`:时间间隔结束点 497 | - `highestTemperature`:最高温度 498 | - `isRainFall`:是否下雨 499 | - `lowerestTemperature`:最低温度 500 | - `precipitation`:降雨量 501 | - `startTime`:时间间隔起始点 502 | - `wd`:风向 503 | - `weather`:天气情况 504 | - `ws`:风力大小 505 | - `weathers`:最近几日天气情况 506 | - `data`:日期 507 | - `sun_down_time`:日落时间 508 | - `sun_rise_time`:日出时间 509 | - `temp_day_c`:白天气温,摄氏度为单位 510 | - `temp_night_c`:夜间气温,摄氏度为单位 511 | - `temp_night_f`:夜间气温,华氏度为单位 512 | - `temp_day_f`:白天气温,华氏度为单位 513 | - `wd`:风向 514 | - `weather`:天气情况 515 | - `week`:星期几 516 | - `ws`:风力大小 -------------------------------------------------------------------------------- /Meizu_cities.json: -------------------------------------------------------------------------------- 1 | { 2 | "cities": [ 3 | { 4 | "city": "北京", 5 | "cityid": "101010100" 6 | }, 7 | { 8 | "city": "上海", 9 | "cityid": "101020100" 10 | }, 11 | { 12 | "city": "天津", 13 | "cityid": "101030100" 14 | }, 15 | { 16 | "city": "重庆", 17 | "cityid": "101040100" 18 | }, 19 | { 20 | "city": "香港特别行政区", 21 | "cityid": "101320101" 22 | }, 23 | { 24 | "city": "澳门特别行政区", 25 | "cityid": "101330101" 26 | }, 27 | { 28 | "city": "哈尔滨", 29 | "cityid": "101050101" 30 | }, 31 | { 32 | "city": "齐齐哈尔", 33 | "cityid": "101050201" 34 | }, 35 | { 36 | "city": "牡丹江", 37 | "cityid": "101050301" 38 | }, 39 | { 40 | "city": "大庆", 41 | "cityid": "101050901" 42 | }, 43 | { 44 | "city": "伊春", 45 | "cityid": "101050801" 46 | }, 47 | { 48 | "city": "双鸭山", 49 | "cityid": "101051301" 50 | }, 51 | { 52 | "city": "鹤岗", 53 | "cityid": "101051201" 54 | }, 55 | { 56 | "city": "鸡西", 57 | "cityid": "101051101" 58 | }, 59 | { 60 | "city": "佳木斯", 61 | "cityid": "101050401" 62 | }, 63 | { 64 | "city": "七台河", 65 | "cityid": "101051002" 66 | }, 67 | { 68 | "city": "黑河", 69 | "cityid": "101050601" 70 | }, 71 | { 72 | "city": "绥化", 73 | "cityid": "101050501" 74 | }, 75 | { 76 | "city": "大兴安岭", 77 | "cityid": "101050701" 78 | }, 79 | { 80 | "city": "长春", 81 | "cityid": "101060101" 82 | }, 83 | { 84 | "city": "延吉", 85 | "cityid": "101060301" 86 | }, 87 | { 88 | "city": "吉林", 89 | "cityid": "101060201" 90 | }, 91 | { 92 | "city": "白山", 93 | "cityid": "101060901" 94 | }, 95 | { 96 | "city": "白城", 97 | "cityid": "101060601" 98 | }, 99 | { 100 | "city": "四平", 101 | "cityid": "101060401" 102 | }, 103 | { 104 | "city": "松原", 105 | "cityid": "101060801" 106 | }, 107 | { 108 | "city": "辽源", 109 | "cityid": "101060701" 110 | }, 111 | { 112 | "city": "大安", 113 | "cityid": "101060603" 114 | }, 115 | { 116 | "city": "通化", 117 | "cityid": "101060501" 118 | }, 119 | { 120 | "city": "沈阳", 121 | "cityid": "101070101" 122 | }, 123 | { 124 | "city": "大连", 125 | "cityid": "101070201" 126 | }, 127 | { 128 | "city": "葫芦岛", 129 | "cityid": "101071401" 130 | }, 131 | { 132 | "city": "盘锦", 133 | "cityid": "101071301" 134 | }, 135 | { 136 | "city": "本溪", 137 | "cityid": "101070501" 138 | }, 139 | { 140 | "city": "抚顺", 141 | "cityid": "101070401" 142 | }, 143 | { 144 | "city": "铁岭", 145 | "cityid": "101071101" 146 | }, 147 | { 148 | "city": "辽阳", 149 | "cityid": "101071001" 150 | }, 151 | { 152 | "city": "营口", 153 | "cityid": "101070801" 154 | }, 155 | { 156 | "city": "阜新", 157 | "cityid": "101070901" 158 | }, 159 | { 160 | "city": "朝阳", 161 | "cityid": "101071201" 162 | }, 163 | { 164 | "city": "锦州", 165 | "cityid": "101070701" 166 | }, 167 | { 168 | "city": "丹东", 169 | "cityid": "101070601" 170 | }, 171 | { 172 | "city": "鞍山", 173 | "cityid": "101070301" 174 | }, 175 | { 176 | "city": "呼和浩特", 177 | "cityid": "101080101" 178 | }, 179 | { 180 | "city": "锡林浩特", 181 | "cityid": "101080901" 182 | }, 183 | { 184 | "city": "包头", 185 | "cityid": "101080201" 186 | }, 187 | { 188 | "city": "赤峰", 189 | "cityid": "101080601" 190 | }, 191 | { 192 | "city": "海拉尔", 193 | "cityid": "101081001" 194 | }, 195 | { 196 | "city": "乌海", 197 | "cityid": "101080301" 198 | }, 199 | { 200 | "city": "鄂尔多斯", 201 | "cityid": "101080701" 202 | }, 203 | { 204 | "city": "通辽", 205 | "cityid": "101080501" 206 | }, 207 | { 208 | "city": "石家庄", 209 | "cityid": "101090101" 210 | }, 211 | { 212 | "city": "唐山", 213 | "cityid": "101090501" 214 | }, 215 | { 216 | "city": "张家口", 217 | "cityid": "101090301" 218 | }, 219 | { 220 | "city": "廊坊", 221 | "cityid": "101090601" 222 | }, 223 | { 224 | "city": "邢台", 225 | "cityid": "101090901" 226 | }, 227 | { 228 | "city": "邯郸", 229 | "cityid": "101091001" 230 | }, 231 | { 232 | "city": "沧州", 233 | "cityid": "101090701" 234 | }, 235 | { 236 | "city": "衡水", 237 | "cityid": "101090801" 238 | }, 239 | { 240 | "city": "承德", 241 | "cityid": "101090402" 242 | }, 243 | { 244 | "city": "保定", 245 | "cityid": "101090201" 246 | }, 247 | { 248 | "city": "秦皇岛", 249 | "cityid": "101091101" 250 | }, 251 | { 252 | "city": "郑州", 253 | "cityid": "101180101" 254 | }, 255 | { 256 | "city": "开封", 257 | "cityid": "101180801" 258 | }, 259 | { 260 | "city": "洛阳", 261 | "cityid": "101180901" 262 | }, 263 | { 264 | "city": "平顶山", 265 | "cityid": "101180501" 266 | }, 267 | { 268 | "city": "焦作", 269 | "cityid": "101181101" 270 | }, 271 | { 272 | "city": "鹤壁", 273 | "cityid": "101181201" 274 | }, 275 | { 276 | "city": "新乡", 277 | "cityid": "101180301" 278 | }, 279 | { 280 | "city": "安阳", 281 | "cityid": "101180201" 282 | }, 283 | { 284 | "city": "濮阳", 285 | "cityid": "101181301" 286 | }, 287 | { 288 | "city": "许昌", 289 | "cityid": "101180401" 290 | }, 291 | { 292 | "city": "漯河", 293 | "cityid": "101181501" 294 | }, 295 | { 296 | "city": "三门峡", 297 | "cityid": "101181701" 298 | }, 299 | { 300 | "city": "南阳", 301 | "cityid": "101180701" 302 | }, 303 | { 304 | "city": "商丘", 305 | "cityid": "101181001" 306 | }, 307 | { 308 | "city": "信阳", 309 | "cityid": "101180601" 310 | }, 311 | { 312 | "city": "周口", 313 | "cityid": "101181401" 314 | }, 315 | { 316 | "city": "驻马店", 317 | "cityid": "101181601" 318 | }, 319 | { 320 | "city": "济南", 321 | "cityid": "101120101" 322 | }, 323 | { 324 | "city": "青岛", 325 | "cityid": "101120201" 326 | }, 327 | { 328 | "city": "淄博", 329 | "cityid": "101120301" 330 | }, 331 | { 332 | "city": "威海", 333 | "cityid": "101121301" 334 | }, 335 | { 336 | "city": "曲阜", 337 | "cityid": "101120710" 338 | }, 339 | { 340 | "city": "临沂", 341 | "cityid": "101120901" 342 | }, 343 | { 344 | "city": "烟台", 345 | "cityid": "101120501" 346 | }, 347 | { 348 | "city": "枣庄", 349 | "cityid": "101121401" 350 | }, 351 | { 352 | "city": "聊城", 353 | "cityid": "101121701" 354 | }, 355 | { 356 | "city": "济宁", 357 | "cityid": "101120701" 358 | }, 359 | { 360 | "city": "菏泽", 361 | "cityid": "101121001" 362 | }, 363 | { 364 | "city": "泰安", 365 | "cityid": "101120801" 366 | }, 367 | { 368 | "city": "日照", 369 | "cityid": "101121501" 370 | }, 371 | { 372 | "city": "东营", 373 | "cityid": "101121201" 374 | }, 375 | { 376 | "city": "德州", 377 | "cityid": "101120401" 378 | }, 379 | { 380 | "city": "滨州", 381 | "cityid": "101121101" 382 | }, 383 | { 384 | "city": "莱芜", 385 | "cityid": "101121601" 386 | }, 387 | { 388 | "city": "潍坊", 389 | "cityid": "101120601" 390 | }, 391 | { 392 | "city": "太原", 393 | "cityid": "101100101" 394 | }, 395 | { 396 | "city": "阳泉", 397 | "cityid": "101100301" 398 | }, 399 | { 400 | "city": "晋城", 401 | "cityid": "101100601" 402 | }, 403 | { 404 | "city": "晋中", 405 | "cityid": "101100401" 406 | }, 407 | { 408 | "city": "临汾", 409 | "cityid": "101100701" 410 | }, 411 | { 412 | "city": "运城", 413 | "cityid": "101100801" 414 | }, 415 | { 416 | "city": "长治", 417 | "cityid": "101100501" 418 | }, 419 | { 420 | "city": "朔州", 421 | "cityid": "101100901" 422 | }, 423 | { 424 | "city": "忻州", 425 | "cityid": "101101001" 426 | }, 427 | { 428 | "city": "大同", 429 | "cityid": "101100201" 430 | }, 431 | { 432 | "city": "吕梁", 433 | "cityid": "101101101" 434 | }, 435 | { 436 | "city": "南京", 437 | "cityid": "101190101" 438 | }, 439 | { 440 | "city": "苏州", 441 | "cityid": "101190401" 442 | }, 443 | { 444 | "city": "昆山", 445 | "cityid": "101190404" 446 | }, 447 | { 448 | "city": "南通", 449 | "cityid": "101190501" 450 | }, 451 | { 452 | "city": "太仓", 453 | "cityid": "101190408" 454 | }, 455 | { 456 | "city": "吴县", 457 | "cityid": "101190406" 458 | }, 459 | { 460 | "city": "徐州", 461 | "cityid": "101190801" 462 | }, 463 | { 464 | "city": "宜兴", 465 | "cityid": "101190203" 466 | }, 467 | { 468 | "city": "镇江", 469 | "cityid": "101190301" 470 | }, 471 | { 472 | "city": "淮安", 473 | "cityid": "101190901" 474 | }, 475 | { 476 | "city": "常熟", 477 | "cityid": "101190402" 478 | }, 479 | { 480 | "city": "盐城", 481 | "cityid": "101190701" 482 | }, 483 | { 484 | "city": "泰州", 485 | "cityid": "101191201" 486 | }, 487 | { 488 | "city": "无锡", 489 | "cityid": "101190201" 490 | }, 491 | { 492 | "city": "连云港", 493 | "cityid": "101191001" 494 | }, 495 | { 496 | "city": "扬州", 497 | "cityid": "101190601" 498 | }, 499 | { 500 | "city": "常州", 501 | "cityid": "101191101" 502 | }, 503 | { 504 | "city": "宿迁", 505 | "cityid": "101191301" 506 | }, 507 | { 508 | "city": "合肥", 509 | "cityid": "101220101" 510 | }, 511 | { 512 | "city": "巢湖", 513 | "cityid": "101221601" 514 | }, 515 | { 516 | "city": "蚌埠", 517 | "cityid": "101220201" 518 | }, 519 | { 520 | "city": "安庆", 521 | "cityid": "101220601" 522 | }, 523 | { 524 | "city": "六安", 525 | "cityid": "101221501" 526 | }, 527 | { 528 | "city": "滁州", 529 | "cityid": "101221101" 530 | }, 531 | { 532 | "city": "马鞍山", 533 | "cityid": "101220501" 534 | }, 535 | { 536 | "city": "阜阳", 537 | "cityid": "101220801" 538 | }, 539 | { 540 | "city": "宣城", 541 | "cityid": "101221401" 542 | }, 543 | { 544 | "city": "铜陵", 545 | "cityid": "101221301" 546 | }, 547 | { 548 | "city": "淮北", 549 | "cityid": "101221201" 550 | }, 551 | { 552 | "city": "芜湖", 553 | "cityid": "101220301" 554 | }, 555 | { 556 | "city": "亳州", 557 | "cityid": "101220901" 558 | }, 559 | { 560 | "city": "宿州", 561 | "cityid": "101220701" 562 | }, 563 | { 564 | "city": "淮南", 565 | "cityid": "101220401" 566 | }, 567 | { 568 | "city": "池州", 569 | "cityid": "101221701" 570 | }, 571 | { 572 | "city": "西安", 573 | "cityid": "101110101" 574 | }, 575 | { 576 | "city": "韩城", 577 | "cityid": "101110510" 578 | }, 579 | { 580 | "city": "安康", 581 | "cityid": "101110701" 582 | }, 583 | { 584 | "city": "汉中", 585 | "cityid": "101110801" 586 | }, 587 | { 588 | "city": "宝鸡", 589 | "cityid": "101110901" 590 | }, 591 | { 592 | "city": "咸阳", 593 | "cityid": "101110200" 594 | }, 595 | { 596 | "city": "榆林", 597 | "cityid": "101110401" 598 | }, 599 | { 600 | "city": "渭南", 601 | "cityid": "101110501" 602 | }, 603 | { 604 | "city": "商洛", 605 | "cityid": "101110601" 606 | }, 607 | { 608 | "city": "铜川", 609 | "cityid": "101111001" 610 | }, 611 | { 612 | "city": "延安", 613 | "cityid": "101110300" 614 | }, 615 | { 616 | "city": "银川", 617 | "cityid": "101170101" 618 | }, 619 | { 620 | "city": "固原", 621 | "cityid": "101170401" 622 | }, 623 | { 624 | "city": "中卫", 625 | "cityid": "101170501" 626 | }, 627 | { 628 | "city": "石嘴山", 629 | "cityid": "101170201" 630 | }, 631 | { 632 | "city": "吴忠", 633 | "cityid": "101170301" 634 | }, 635 | { 636 | "city": "兰州", 637 | "cityid": "101160101" 638 | }, 639 | { 640 | "city": "白银", 641 | "cityid": "101161301" 642 | }, 643 | { 644 | "city": "庆阳", 645 | "cityid": "101160401" 646 | }, 647 | { 648 | "city": "酒泉", 649 | "cityid": "101160801" 650 | }, 651 | { 652 | "city": "天水", 653 | "cityid": "101160901" 654 | }, 655 | { 656 | "city": "武威", 657 | "cityid": "101160501" 658 | }, 659 | { 660 | "city": "张掖", 661 | "cityid": "101160701" 662 | }, 663 | { 664 | "city": "甘南", 665 | "cityid": "101050204" 666 | }, 667 | { 668 | "city": "临夏", 669 | "cityid": "101161101" 670 | }, 671 | { 672 | "city": "平凉", 673 | "cityid": "101160301" 674 | }, 675 | { 676 | "city": "定西", 677 | "cityid": "101160201" 678 | }, 679 | { 680 | "city": "金昌", 681 | "cityid": "101160601" 682 | }, 683 | { 684 | "city": "西宁", 685 | "cityid": "101150101" 686 | }, 687 | { 688 | "city": "海北", 689 | "cityid": "101150801" 690 | }, 691 | { 692 | "city": "海西", 693 | "cityid": "101150701" 694 | }, 695 | { 696 | "city": "黄南", 697 | "cityid": "101150301" 698 | }, 699 | { 700 | "city": "果洛", 701 | "cityid": "101150501" 702 | }, 703 | { 704 | "city": "玉树", 705 | "cityid": "101150601" 706 | }, 707 | { 708 | "city": "海东", 709 | "cityid": "101150201" 710 | }, 711 | { 712 | "city": "海南", 713 | "cityid": "101150401" 714 | }, 715 | { 716 | "city": "武汉", 717 | "cityid": "101200101" 718 | }, 719 | { 720 | "city": "宜昌", 721 | "cityid": "101200901" 722 | }, 723 | { 724 | "city": "黄冈", 725 | "cityid": "101200501" 726 | }, 727 | { 728 | "city": "恩施", 729 | "cityid": "101201001" 730 | }, 731 | { 732 | "city": "荆州", 733 | "cityid": "101200801" 734 | }, 735 | { 736 | "city": "神农架", 737 | "cityid": "101201201" 738 | }, 739 | { 740 | "city": "十堰", 741 | "cityid": "101201101" 742 | }, 743 | { 744 | "city": "咸宁", 745 | "cityid": "101200701" 746 | }, 747 | { 748 | "city": "襄阳", 749 | "cityid": "101200201" 750 | }, 751 | { 752 | "city": "孝感", 753 | "cityid": "101200401" 754 | }, 755 | { 756 | "city": "随州", 757 | "cityid": "101201301" 758 | }, 759 | { 760 | "city": "黄石", 761 | "cityid": "101200601" 762 | }, 763 | { 764 | "city": "荆门", 765 | "cityid": "101201401" 766 | }, 767 | { 768 | "city": "鄂州", 769 | "cityid": "101200301" 770 | }, 771 | { 772 | "city": "长沙", 773 | "cityid": "101250101" 774 | }, 775 | { 776 | "city": "邵阳", 777 | "cityid": "101250901" 778 | }, 779 | { 780 | "city": "常德", 781 | "cityid": "101250601" 782 | }, 783 | { 784 | "city": "郴州", 785 | "cityid": "101250501" 786 | }, 787 | { 788 | "city": "吉首", 789 | "cityid": "101251501" 790 | }, 791 | { 792 | "city": "株洲", 793 | "cityid": "101250301" 794 | }, 795 | { 796 | "city": "娄底", 797 | "cityid": "101250801" 798 | }, 799 | { 800 | "city": "湘潭", 801 | "cityid": "101250201" 802 | }, 803 | { 804 | "city": "益阳", 805 | "cityid": "101250701" 806 | }, 807 | { 808 | "city": "永州", 809 | "cityid": "101251401" 810 | }, 811 | { 812 | "city": "岳阳", 813 | "cityid": "101251001" 814 | }, 815 | { 816 | "city": "衡阳", 817 | "cityid": "101250401" 818 | }, 819 | { 820 | "city": "怀化", 821 | "cityid": "101251201" 822 | }, 823 | { 824 | "city": "韶山", 825 | "cityid": "101250202" 826 | }, 827 | { 828 | "city": "张家界", 829 | "cityid": "101251101" 830 | }, 831 | { 832 | "city": "杭州", 833 | "cityid": "101210101" 834 | }, 835 | { 836 | "city": "湖州", 837 | "cityid": "101210201" 838 | }, 839 | { 840 | "city": "金华", 841 | "cityid": "101210901" 842 | }, 843 | { 844 | "city": "宁波", 845 | "cityid": "101210401" 846 | }, 847 | { 848 | "city": "丽水", 849 | "cityid": "101210801" 850 | }, 851 | { 852 | "city": "绍兴", 853 | "cityid": "101210501" 854 | }, 855 | { 856 | "city": "衢州", 857 | "cityid": "101211001" 858 | }, 859 | { 860 | "city": "嘉兴", 861 | "cityid": "101210301" 862 | }, 863 | { 864 | "city": "台州", 865 | "cityid": "101210601" 866 | }, 867 | { 868 | "city": "舟山", 869 | "cityid": "101211101" 870 | }, 871 | { 872 | "city": "温州", 873 | "cityid": "101210701" 874 | }, 875 | { 876 | "city": "南昌", 877 | "cityid": "101240101" 878 | }, 879 | { 880 | "city": "萍乡", 881 | "cityid": "101240901" 882 | }, 883 | { 884 | "city": "九江", 885 | "cityid": "101240201" 886 | }, 887 | { 888 | "city": "上饶", 889 | "cityid": "101240301" 890 | }, 891 | { 892 | "city": "抚州", 893 | "cityid": "101240401" 894 | }, 895 | { 896 | "city": "吉安", 897 | "cityid": "101240601" 898 | }, 899 | { 900 | "city": "鹰潭", 901 | "cityid": "101241101" 902 | }, 903 | { 904 | "city": "宜春", 905 | "cityid": "101240501" 906 | }, 907 | { 908 | "city": "新余", 909 | "cityid": "101241001" 910 | }, 911 | { 912 | "city": "景德镇", 913 | "cityid": "101240801" 914 | }, 915 | { 916 | "city": "赣州", 917 | "cityid": "101240701" 918 | }, 919 | { 920 | "city": "福州", 921 | "cityid": "101230101" 922 | }, 923 | { 924 | "city": "厦门", 925 | "cityid": "101230201" 926 | }, 927 | { 928 | "city": "龙岩", 929 | "cityid": "101230701" 930 | }, 931 | { 932 | "city": "南平", 933 | "cityid": "101230901" 934 | }, 935 | { 936 | "city": "宁德", 937 | "cityid": "101230301" 938 | }, 939 | { 940 | "city": "莆田", 941 | "cityid": "101230401" 942 | }, 943 | { 944 | "city": "泉州", 945 | "cityid": "101230501" 946 | }, 947 | { 948 | "city": "三明", 949 | "cityid": "101230801" 950 | }, 951 | { 952 | "city": "漳州", 953 | "cityid": "101230601" 954 | }, 955 | { 956 | "city": "贵阳", 957 | "cityid": "101260101" 958 | }, 959 | { 960 | "city": "安顺", 961 | "cityid": "101260301" 962 | }, 963 | { 964 | "city": "赤水", 965 | "cityid": "101260208" 966 | }, 967 | { 968 | "city": "遵义", 969 | "cityid": "101260201" 970 | }, 971 | { 972 | "city": "铜仁", 973 | "cityid": "101260601" 974 | }, 975 | { 976 | "city": "六盘水", 977 | "cityid": "101260801" 978 | }, 979 | { 980 | "city": "毕节", 981 | "cityid": "101260701" 982 | }, 983 | { 984 | "city": "凯里", 985 | "cityid": "101260501" 986 | }, 987 | { 988 | "city": "都匀", 989 | "cityid": "101260401" 990 | }, 991 | { 992 | "city": "成都", 993 | "cityid": "101270101" 994 | }, 995 | { 996 | "city": "泸州", 997 | "cityid": "101271001" 998 | }, 999 | { 1000 | "city": "内江", 1001 | "cityid": "101271201" 1002 | }, 1003 | { 1004 | "city": "凉山", 1005 | "cityid": "101271601" 1006 | }, 1007 | { 1008 | "city": "阿坝", 1009 | "cityid": "101271901" 1010 | }, 1011 | { 1012 | "city": "巴中", 1013 | "cityid": "101270901" 1014 | }, 1015 | { 1016 | "city": "广元", 1017 | "cityid": "101272101" 1018 | }, 1019 | { 1020 | "city": "乐山", 1021 | "cityid": "101271401" 1022 | }, 1023 | { 1024 | "city": "绵阳", 1025 | "cityid": "101270401" 1026 | }, 1027 | { 1028 | "city": "德阳", 1029 | "cityid": "101272001" 1030 | }, 1031 | { 1032 | "city": "攀枝花", 1033 | "cityid": "101270201" 1034 | }, 1035 | { 1036 | "city": "雅安", 1037 | "cityid": "101271701" 1038 | }, 1039 | { 1040 | "city": "宜宾", 1041 | "cityid": "101271101" 1042 | }, 1043 | { 1044 | "city": "自贡", 1045 | "cityid": "101270301" 1046 | }, 1047 | { 1048 | "city": "甘孜州", 1049 | "cityid": "101271801" 1050 | }, 1051 | { 1052 | "city": "达州", 1053 | "cityid": "101270601" 1054 | }, 1055 | { 1056 | "city": "资阳", 1057 | "cityid": "101271301" 1058 | }, 1059 | { 1060 | "city": "广安", 1061 | "cityid": "101270801" 1062 | }, 1063 | { 1064 | "city": "遂宁", 1065 | "cityid": "101270701" 1066 | }, 1067 | { 1068 | "city": "眉山", 1069 | "cityid": "101271501" 1070 | }, 1071 | { 1072 | "city": "南充", 1073 | "cityid": "101270501" 1074 | }, 1075 | { 1076 | "city": "广州", 1077 | "cityid": "101280101" 1078 | }, 1079 | { 1080 | "city": "深圳", 1081 | "cityid": "101280601" 1082 | }, 1083 | { 1084 | "city": "潮州", 1085 | "cityid": "101281501" 1086 | }, 1087 | { 1088 | "city": "韶关", 1089 | "cityid": "101280201" 1090 | }, 1091 | { 1092 | "city": "湛江", 1093 | "cityid": "101281001" 1094 | }, 1095 | { 1096 | "city": "惠州", 1097 | "cityid": "101280301" 1098 | }, 1099 | { 1100 | "city": "清远", 1101 | "cityid": "101281301" 1102 | }, 1103 | { 1104 | "city": "东莞", 1105 | "cityid": "101281601" 1106 | }, 1107 | { 1108 | "city": "江门", 1109 | "cityid": "101281101" 1110 | }, 1111 | { 1112 | "city": "茂名", 1113 | "cityid": "101282001" 1114 | }, 1115 | { 1116 | "city": "肇庆", 1117 | "cityid": "101280901" 1118 | }, 1119 | { 1120 | "city": "汕尾", 1121 | "cityid": "101282101" 1122 | }, 1123 | { 1124 | "city": "河源", 1125 | "cityid": "101281201" 1126 | }, 1127 | { 1128 | "city": "揭阳", 1129 | "cityid": "101281901" 1130 | }, 1131 | { 1132 | "city": "梅州", 1133 | "cityid": "101280401" 1134 | }, 1135 | { 1136 | "city": "中山", 1137 | "cityid": "101281701" 1138 | }, 1139 | { 1140 | "city": "德庆", 1141 | "cityid": "101280905" 1142 | }, 1143 | { 1144 | "city": "阳江", 1145 | "cityid": "101281801" 1146 | }, 1147 | { 1148 | "city": "云浮", 1149 | "cityid": "101281401" 1150 | }, 1151 | { 1152 | "city": "珠海", 1153 | "cityid": "101280701" 1154 | }, 1155 | { 1156 | "city": "汕头", 1157 | "cityid": "101280501" 1158 | }, 1159 | { 1160 | "city": "佛山", 1161 | "cityid": "101280800" 1162 | }, 1163 | { 1164 | "city": "南宁", 1165 | "cityid": "101300101" 1166 | }, 1167 | { 1168 | "city": "桂林", 1169 | "cityid": "101300501" 1170 | }, 1171 | { 1172 | "city": "阳朔", 1173 | "cityid": "101300510" 1174 | }, 1175 | { 1176 | "city": "柳州", 1177 | "cityid": "101300301" 1178 | }, 1179 | { 1180 | "city": "梧州", 1181 | "cityid": "101300601" 1182 | }, 1183 | { 1184 | "city": "玉林", 1185 | "cityid": "101300901" 1186 | }, 1187 | { 1188 | "city": "桂平", 1189 | "cityid": "101300802" 1190 | }, 1191 | { 1192 | "city": "贺州", 1193 | "cityid": "101300701" 1194 | }, 1195 | { 1196 | "city": "钦州", 1197 | "cityid": "101301101" 1198 | }, 1199 | { 1200 | "city": "贵港", 1201 | "cityid": "101300801" 1202 | }, 1203 | { 1204 | "city": "防城港", 1205 | "cityid": "101301401" 1206 | }, 1207 | { 1208 | "city": "百色", 1209 | "cityid": "101301001" 1210 | }, 1211 | { 1212 | "city": "北海", 1213 | "cityid": "101301301" 1214 | }, 1215 | { 1216 | "city": "河池", 1217 | "cityid": "101301201" 1218 | }, 1219 | { 1220 | "city": "来宾", 1221 | "cityid": "101300401" 1222 | }, 1223 | { 1224 | "city": "崇左", 1225 | "cityid": "101300201" 1226 | }, 1227 | { 1228 | "city": "昆明", 1229 | "cityid": "101290101" 1230 | }, 1231 | { 1232 | "city": "保山", 1233 | "cityid": "101290501" 1234 | }, 1235 | { 1236 | "city": "楚雄", 1237 | "cityid": "101290801" 1238 | }, 1239 | { 1240 | "city": "德宏", 1241 | "cityid": "101291501" 1242 | }, 1243 | { 1244 | "city": "红河", 1245 | "cityid": "101290301" 1246 | }, 1247 | { 1248 | "city": "临沧", 1249 | "cityid": "101291101" 1250 | }, 1251 | { 1252 | "city": "怒江", 1253 | "cityid": "101291201" 1254 | }, 1255 | { 1256 | "city": "曲靖", 1257 | "cityid": "101290401" 1258 | }, 1259 | { 1260 | "city": "思茅", 1261 | "cityid": "101290901" 1262 | }, 1263 | { 1264 | "city": "文山", 1265 | "cityid": "101290601" 1266 | }, 1267 | { 1268 | "city": "玉溪", 1269 | "cityid": "101290701" 1270 | }, 1271 | { 1272 | "city": "昭通", 1273 | "cityid": "101291001" 1274 | }, 1275 | { 1276 | "city": "丽江", 1277 | "cityid": "101291401" 1278 | }, 1279 | { 1280 | "city": "大理", 1281 | "cityid": "101290201" 1282 | }, 1283 | { 1284 | "city": "海口", 1285 | "cityid": "101310101" 1286 | }, 1287 | { 1288 | "city": "三亚", 1289 | "cityid": "101310201" 1290 | }, 1291 | { 1292 | "city": "儋州", 1293 | "cityid": "101310205" 1294 | }, 1295 | { 1296 | "city": "琼山", 1297 | "cityid": "101310102" 1298 | }, 1299 | { 1300 | "city": "通什", 1301 | "cityid": "101310222" 1302 | }, 1303 | { 1304 | "city": "文昌", 1305 | "cityid": "101310212" 1306 | }, 1307 | { 1308 | "city": "乌鲁木齐", 1309 | "cityid": "101130101" 1310 | }, 1311 | { 1312 | "city": "阿勒泰", 1313 | "cityid": "101131401" 1314 | }, 1315 | { 1316 | "city": "阿克苏", 1317 | "cityid": "101130801" 1318 | }, 1319 | { 1320 | "city": "昌吉", 1321 | "cityid": "101130401" 1322 | }, 1323 | { 1324 | "city": "哈密", 1325 | "cityid": "101131201" 1326 | }, 1327 | { 1328 | "city": "和田", 1329 | "cityid": "101131301" 1330 | }, 1331 | { 1332 | "city": "喀什", 1333 | "cityid": "101130901" 1334 | }, 1335 | { 1336 | "city": "克拉玛依", 1337 | "cityid": "101130201" 1338 | }, 1339 | { 1340 | "city": "石河子", 1341 | "cityid": "101130301" 1342 | }, 1343 | { 1344 | "city": "塔城", 1345 | "cityid": "101131101" 1346 | }, 1347 | { 1348 | "city": "库尔勒", 1349 | "cityid": "101130601" 1350 | }, 1351 | { 1352 | "city": "吐鲁番", 1353 | "cityid": "101130501" 1354 | }, 1355 | { 1356 | "city": "伊宁", 1357 | "cityid": "101131001" 1358 | }, 1359 | { 1360 | "city": "拉萨", 1361 | "cityid": "101140101" 1362 | }, 1363 | { 1364 | "city": "阿里", 1365 | "cityid": "101140701" 1366 | }, 1367 | { 1368 | "city": "昌都", 1369 | "cityid": "101140501" 1370 | }, 1371 | { 1372 | "city": "那曲", 1373 | "cityid": "101140601" 1374 | }, 1375 | { 1376 | "city": "日喀则", 1377 | "cityid": "101140201" 1378 | }, 1379 | { 1380 | "city": "山南", 1381 | "cityid": "101140301" 1382 | }, 1383 | { 1384 | "city": "林芝", 1385 | "cityid": "101140401" 1386 | }, 1387 | { 1388 | "city": "台北", 1389 | "cityid": "101340101" 1390 | }, 1391 | { 1392 | "city": "高雄", 1393 | "cityid": "101340201" 1394 | } 1395 | ] 1396 | } -------------------------------------------------------------------------------- /ONE~v3.5.0.md: -------------------------------------------------------------------------------- 1 | # 「一个」 API 接口 # 2 | ## 截止到 v3.5.0 ## 3 | ## 图片 ## 4 | // 此 url 获取所有近期图片列表,返回 json 中的的数字作为参数传入后面的 url 中 5 | 6 | **图片列表** url:``http://v3.wufazhuce.com:8000/api/hp/idlist/0?version=3.5.0&platform=android`` 7 | 8 | // 将下面的 ``id`` 兑换成上面获取到的值 9 | 10 | **图片详情** url:``http://v3.wufazhuce.com:8000/api/hp/detail/ + id + ?version=3.5.0&platform=android`` 11 | 12 | 例:``http://v3.wufazhuce.com:8000/api/hp/detail/1557?version=3.5.0&platform=android`` 13 | 14 | ## 阅读 ## 15 | // 此 url 获取当日所有阅读文章的列表,返回 json 中的 ``content_id`` 作为后面两个 url 的传入值 16 | 17 | **阅读列表** url:``http://v3.wufazhuce.com:8000/api/reading/index/?version=3.5.0&platform=android`` 18 | 19 | // 将下面的 ``content_id`` 兑换成上面获取到的值 20 | 21 | **阅读详情** url:``http://v3.wufazhuce.com:8000/api/essay/ + content_id + ?version=3.5.0&platform=android`` 22 | 23 | 例:``http://v3.wufazhuce.com:8000/api/essay/1634?version=3.5.0&platform=android`` 24 | 25 | // 将下面的 ``content_id`` 兑换成上面获取到的值 26 | 27 | **阅读评论** url:``http://v3.wufazhuce.com:8000/api/comment/praiseandtime/essay/ + content_id + /0?version=3.5.0&platform=android`` 28 | 29 | 例:``http://v3.wufazhuce.com:8000/api/comment/praiseandtime/essay/1634/0?version=3.5.0&platform=android`` 30 | 31 | ## 音乐 ## 32 | // 此 url 获取所有的歌曲 ``id``,返回 json 中的 ``id`` 作为后面两个 url 的传入值 33 | 34 | **音乐列表** id url:``http://v3.wufazhuce.com:8000/api/music/idlist/0?version=3.5.0&platform=android`` 35 | 36 | // 将下面的 ``id`` 兑换成上面获取到的值 37 | 38 | **歌曲详情** url:``http://v3.wufazhuce.com:8000/api/music/detail/ + id + ?version=3.5.0&platform=android`` 39 | 40 | 例:``http://v3.wufazhuce.com:8000/api/music/detail/1147?version=3.5.0&platform=android`` 41 | 42 | ## 电影 ## 43 | // 此 url 获取当日近期电影的列表,返回 json 中的数字作为后面两个 url 的传入值 44 | 45 | **电影列表** url:``http://v3.wufazhuce.com:8000/api/movie/list/0?version=3.5.0&platform=android`` 46 | 47 | // 将下面的 ``id`` 兑换成上面获取到的值 48 | 49 | **电影详情** url:``http://v3.wufazhuce.com:8000/api/movie/183/story/1/0?version=3.5.0&platform=android`` 50 | 51 | // 将下面的 ``id`` 兑换成上面获取到的值 52 | 53 | **配合电影详情所使用图片和其他信息** url:``http://v3.wufazhuce.com:8000/api/movie/detail/183?version=3.5.0&platform=android`` 54 | 55 | -------------------------------------------------------------------------------- /OneArticle.md: -------------------------------------------------------------------------------- 1 | - [每日一文](#article) 2 | - [特定某天一文](#someday) 3 | - [随机一文](#random) 4 | 5 |

每日一文

6 | 7 | url:[`https://interface.meiriyiwen.com/article/today?dev=1`](https://interface.meiriyiwen.com/article/today?dev=1) 8 | 9 | json 示例: 10 | 11 | { 12 | "data": { 13 | "date": { 14 | "curr": "20170217", 15 | "prev": "20170216", 16 | "next": "20170218" 17 | }, 18 | "author": "契诃夫", 19 | "title": "散戏之后", 20 | "digest": "娜卡.戴莱尼同她母亲从戏园里回来,那天,戏园里演了一出戏名叫《叶甫盖尼.奥涅金》的戏剧。她跑到自己的屋子里去,很快脱去衣服,散开发辫,穿了一", 21 | "content": "

娜卡.戴莱尼同她母亲从戏园里回来,那天,戏园里演了一出戏名叫《叶甫盖尼.奥涅金》的戏剧。她跑到自己的屋子里去,很快脱去衣服,散开发辫,穿了一条短裙和衬衣,坐在桌子旁边,想仿照达吉雅娜的笔调写一封信。

她写道——

“我爱你,可是你不爱我,不爱我!”

她写着写着就笑了起来。

她那时候不过十六岁,她还没有爱上谁,却知道军官戈尔南和学生格罗兹杰夫都很爱她。可自从那天晚上看完戏以后,她对于他们的爱情忽然生出疑惑。做不被人爱的、不幸的人——那多有趣啊!她觉得一个人爱得深,而另一个却很冷淡,是一件很有意思,很动人,并且含着诗味的事情。

在那出戏里,奥涅金以绝不爱人为乐趣,达吉雅娜却老迷着他,因为她很爱他,假如他们能够互相恋爱,享受幸福,那这件事情也就枯涩无味了。

娜卡想起军官戈尔南来,就往下写道:

“你也不用在我面前坚持说你爱我,我也不能够信你。你很聪明,很有学问,很严正;你是绝对的天才,光明的未来正等着你,我却是一个低微的不幸女人,并且你也深知我只会成为你生活上的阻碍。虽然你还在注意我,想着用你自己的理想来迎合我,然而这一定是错误的,现在你一定已经后悔,并且自问道:我为什么要同那姑娘亲热呢?可不过因为你这个人太善良,所以你还不愿意承认呢!……”

娜卡写到这里,觉得自己身世飘零,禁不住就流下泪来,继续写道:

“我很不忍离开我那亲爱的母亲和兄弟,要不然我就披上袈裟,只身遁去,到那人迹不到的地方去另讨生活。那你也就成了自由的人,可以另爱别人了。唉,我还不如一死呢!”

娜卡含着一泡眼泪,也辨别不出写的是什么,只看见桌子上,地板上和顶棚上,一条一条的彩虹不住地在那里摇荡着,仿佛是从三棱镜里看见的一样。她也写不上来,就往椅子背上一靠,想起戈尔南来。

男子真有趣,却真能撩人呀!娜卡想起他们一块儿谈论音乐的时候,他那又温柔,又口吃,并且时常错误的言辞是何等的有趣!他也总是竭力地使自己的嗓音不流露出激烈的声调。在社交场合,即使有冷静的头脑和骄傲的习气,受过高等教育,有着道德高尚的表征,自己的嗜好也不得不收藏在一边。戈尔南也知道这样藏着,可是终有时要流露出来,所以大家都知道他对于音乐十分嗜好。有人不免要不断地议论音乐,或者有不了解音乐的人偏要发出那可笑的言论,他却还保持着常态,好像恐惧胆小似的一句话也不说。他钢琴弹得很好,和真正的钢琴家弹的一样。假如他不做军官,他一定会成为一位有名的音乐家呢。

眼睛里的泪也干了。娜卡回忆起戈尔南曾在音乐会上和她讲过爱情,后来在穿衣架旁边也讲过一次,那时候正徐徐地吹着微风,她又往下继续写道:

“我很高兴你跟格罗兹杰夫认识了,他是一个很聪明的人,你一定也爱他,昨天他在我家里,坐到两点钟才走。那天晚上我们都很快乐,可惜你却没有来。他讲了许多有趣的话。”

娜卡手按在桌上,头枕着手,她的头发遮没了那封信。她记得学生格罗兹杰夫也很爱她,他也应当有一封和戈尔南同样的信才好。不过要怎样给格罗兹杰夫写信呢?不知什么缘故她的胸中忽然掀起了一股的欢乐:起初这股欢乐还小,仿佛在胸问摇荡着一个小橡皮球儿一样,然后那快乐就慢慢地扩大,竟像波浪起伏一样。娜卡也忘记想戈尔南和格罗兹杰夫,因为她的思想已经错乱,可是那快乐却越发地增长起来,从胸脯达到手足四肢,欢乐好像轻微的冷风似的吹进头脑里来,掠着头发过去。她耸着肩膀不住地微笑,连桌子和灯上的玻璃都慢慢地颤动起来,眼泪也进了出来,落在那张信纸上面。她的笑好久没能止住,她想要停止来着。为了表明自己不是无端发笑,她打算赶紧想出一件可笑的事情来。她觉得自己笑得快透不过气来了,赶紧说道:

“这只小狗真可笑!这只小狗真可笑!”

她记起,昨天喝茶后格罗兹杰夫同小狗马克新闹着玩,之后他就讲起一只聪明小狗的故事来:

那只小狗在院子里追赶乌鸦,乌鸦却回头看着它说道:

“哼,你这个坏蛋!”

小狗并不知道那被他追赶的乌鸦是很有学问的,一下子就呆住了,疑惑了好一会儿,然后就狂吠起来。

想到这里,娜卡决然道:“不,我还是爱格罗兹杰夫的好。”说完这话,她立刻把刚才那封信撕掉了。

她开始想着那学生的爱情和自己的爱情,可不料她脑筋里的念头总是摇摆不定。于是她就乱想起来:母亲、街市、铅笔、风琴……她想得很高兴,她认为世界上所有的东西都是好的,美妙的,并且她的欢乐还告诉她说这并不算稀奇,还有更好的在后面。很快春天过去,夏天到来,她就可以同母亲到戈尔比基去,戈尔南也告假往那里去,同她一块儿在花园里闲逛,顺便谈谈心事。格罗兹杰夫也跑来同她一起打棒球和网球,给她讲可笑或奇异的事情。他十分喜欢花园、黑夜、青天和繁星。她重新又耸着肩笑起来,她仿佛觉得室内一阵阵的花香从窗外透将进来,沁人人的心脾。

她走到她前,坐了下来,也不知道那使她沉溺的欢乐是从哪里来的,她目不转睛地瞧着挂在床背后面的神像,喃喃地说道:“上帝!上帝!上帝!”

", 22 | "wc": 1963 23 | } 24 | } 25 | 26 | 解析: 27 | 28 | - `date`:日期 29 | - `curr`:今日日期,`yyyyMMdd` 格式 30 | - `prev`:昨日日期,`yyyyMMdd` 格式 31 | - `next`:明日日期,`yyyyMMdd` 格式 32 | - `author`:作者 33 | - `titile`:标题 34 | - `digest`:首段 35 | - `content`:正文内容 36 | - `wc`:??? 37 | 38 |

特定某天一文

39 | 40 | url:https://interface.meiriyiwen.com/article/day?dev=1&date= + 日期 41 | 42 | url 示例:[`https://interface.meiriyiwen.com/article/day?dev=1&date=20170216`](https://interface.meiriyiwen.com/article/day?dev=1&date=20170216) 43 | 44 | json 示例以及解析同[每日一文](#article) 45 | 46 |

随机一文

47 | 48 | url:[https://interface.meiriyiwen.com/article/random?dev=1](https://interface.meiriyiwen.com/article/random?dev=1) 49 | 50 | json 示例以及解析同[每日一文](#article) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 声明 # 2 | **以下所有 API 均由产品公司自身提供,本人皆从网络获取。获取与共享之行为或有侵犯产品权益的嫌疑。若被告知需停止共享与使用,本人会及时删除此页面与整个项目。请您暸解相关情况,并遵守产品协议。** 3 | 4 | ## [ONE v3.5.0 之前版本:API 链接](https://github.com/jokermonn/-Api/blob/master/ONE~v3.5.0.md) ## 5 | 6 | ## [ONE v3.5.0 之后版本:API 链接](https://github.com/jokermonn/-Api/blob/master/ONEv3.5.0~.md) ## 7 | 8 | ![](https://camo.githubusercontent.com/079c18fa139ab14b8eae6eafe40da2d518ed2838/687474703a2f2f692e696d6775722e636f6d2f754b613261595a2e706e67) 9 | 10 | app 下载链接:[http://www.wandoujia.com/apps/one.hh.oneclient](http://www.wandoujia.com/apps/one.hh.oneclient) 11 | 12 | ## [时光网:API 链接](https://github.com/jokermonn/-Api/blob/master/Time.md) 13 | 14 | ![](http://img.wdjimg.com/mms/icon/v1/e/81/8974ffd9388f547dc8877e0c55d2e81e_78_78.png) 15 | 16 | app 下载链接:[http://www.wandoujia.com/apps/com.mtime](http://www.wandoujia.com/apps/com.mtime) 17 | 18 | ## [今日头条:API 链接](https://github.com/jokermonn/-Api/blob/master/Todaynews.md) ## 19 | 20 | ![](http://img.wdjimg.com/mms/icon/v1/4/97/4b8356b706e0048b4ca9677c426c3974_78_78.png) 21 | 22 | app 下载链接:[http://www.wandoujia.com/apps/com.ss.android.article.news](http://www.wandoujia.com/apps/com.ss.android.article.news) 23 | 24 | ## [开眼 Eyepetizer:API 链接](https://github.com/jokermonn/-Api/blob/master/Eyepetizer.md) 25 | 26 | ![](http://img.wdjimg.com/mms/icon/v1/1/dc/50a4c597efe027933e3a3f90b0afbdc1_78_78.png) 27 | 28 | app 下载链接:[http://www.wandoujia.com/apps/com.wandoujia.eyepetizer](http://www.wandoujia.com/apps/com.wandoujia.eyepetizer) 29 | 30 | ## [一席:API 链接](https://github.com/jokermonn/-Api/blob/master/Yixi.md) 31 | 32 | ![](http://img.wdjimg.com/mms/icon/v1/9/b4/9ee57d8fe18ce1d0a5f226e757f44b49_78_78.png) 33 | 34 | app 下载链接:[http://www.wandoujia.com/apps/com.taguxdesign.yixi](http://www.wandoujia.com/apps/com.taguxdesign.yixi) 35 | 36 | ## [梨视频:API 链接](https://github.com/jokermonn/-Api/blob/master/Livideo.md) ## 37 | 38 | ![](http://img.wdjimg.com/mms/icon/v1/9/ed/93acb88683bd7976ca04a61201e9ded9_78_78.png) 39 | 40 | app 下载链接:[http://www.wandoujia.com/apps/com.mobile.videonews.li.video](http://www.wandoujia.com/apps/com.mobile.videonews.li.video) 41 | 42 | ## [有道词典:API 链接](https://github.com/jokermonn/-Api/blob/master/YoudaoDic.md) ## 43 | 44 | ![](http://img.wdjimg.com/mms/icon/v1/0/82/8f4c1ccdc0a96b9c44a5c94709a77820_78_78.png) 45 | 46 | app 下载链接:[http://www.wandoujia.com/apps/com.youdao.dict](http://www.wandoujia.com/apps/com.youdao.dict) 47 | 48 | ## [微软必应词典:API 链接](https://github.com/jokermonn/-Api/blob/master/BingDic.md) ## 49 | 50 | ![](http://img.wdjimg.com/mms/icon/v1/b/04/53110268118ae536fcf87ec91353904b_78_78.png) 51 | 52 | app 下载链接:[http://www.wandoujia.com/apps/bingdic.android.activity](http://www.wandoujia.com/apps/bingdic.android.activity) 53 | 54 | ## [金山词典:API 链接](https://github.com/jokermonn/-Api/blob/master/KingsoftDic.md) ## 55 | 56 | 金山词典链接:[http://www.iciba.com/](http://www.iciba.com/) 57 | 58 | ## [豆瓣电影:API 链接](https://github.com/jokermonn/-Api/blob/master/DoubanMovie.md) ## 59 | 60 | ![](http://img.wdjimg.com/mms/icon/v1/9/f4/e2fed53a563d696d990484de34729f49_78_78.png) 61 | 62 | app 下载链接:[http://www.wandoujia.com/apps/com.douban.movie](http://www.wandoujia.com/apps/com.douban.movie) 63 | 64 | ## [中央天气预报:API 链接](https://github.com/jokermonn/-Api/blob/master/CenterWeather.md) ## 65 | 66 | ![](http://img.wdjimg.com/mms/icon/v1/5/22/05be4e3dc6e4beaf4be0c1249c176225_78_78.png) 67 | 68 | app 下载链接:[http://www.wandoujia.com/apps/com.nineton.weatherforecast](http://www.wandoujia.com/apps/com.nineton.weatherforecast) 69 | 70 | ## [小米天气:API 链接](https://github.com/jokermonn/-Api/blob/master/XiaomiWeather.md) ## 71 | 72 | ![](http://i1.piimg.com/567571/d9d68c0ad8def11b.png) 73 | 74 | app 下载链接(非小米不可安装):[http://www.cr173.com/soft/264860.html](http://www.cr173.com/soft/264860.html) 75 | 76 | ## [魅族天气:API 链接](https://github.com/jokermonn/-Api/blob/master/MeizuWeather.md) ## 77 | 78 | ![](http://p1.bpimg.com/4851/4fe7a2df33d616b0.png) 79 | 80 | app 下载链接:[http://www.paopaoche.net/android/97297.html](http://www.paopaoche.net/android/97297.html) 81 | 82 | ## [每日一文:API 链接](https://github.com/jokermonn/-Api/blob/master/OneArticle.md) ## 83 | 84 | ![](http://img.wdjimg.com/mms/icon/v1/5/81/865635b34f2a7d3d3b5bb7a368cb2815_78_78.png) 85 | 86 | app 下载链接:[http://www.wandoujia.com/apps/com.meiriyiwen.app](http://www.wandoujia.com/apps/com.meiriyiwen.app) 87 | 88 | ## [快递100:API 链接](https://github.com/jokermonn/-Api/blob/master/ExpressDelivery100.md) ## 89 | 90 | 快递100网链接:[https://www.kuaidi100.com/](https://www.kuaidi100.com/) 91 | 92 | ## [快递网:API 链接](https://github.com/jokermonn/-Api/blob/master/ExpressDelivery.md) ## 93 | 94 | 快递网链接:[http://www.kuaidi.com/](http://www.kuaidi.com/) 95 | 96 | ## [12306:API 链接](https://github.com/jokermonn/-Api/blob/master/12306.md) ## 97 | 98 | 12306 网站链接:[http://www.12306.cn/mormhweb/](http://www.12306.cn/mormhweb/) 99 | 100 | ## [途牛火车票:API链接](https://github.com/jokermonn/-Api/blob/master/TuniuTickets.md) ## 101 | 102 | 途牛火车票网链接:[http://huoche.tuniu.com/](http://huoche.tuniu.com/) -------------------------------------------------------------------------------- /Time.md: -------------------------------------------------------------------------------- 1 | - [前言](#preface) 2 | - [正在售票](#sell_tickets) 3 | - [正在热映](#hot_movies) 4 | - [即将上映](#coming_movies) 5 | - [影片详情](#movie_detail) 6 | - [演职员表](#movie_roles) 7 | - [影片评论](#movie_comment) 8 | - [预告片&拍摄花絮](#trailer) 9 | - [剧照](#stage_photo) 10 | 11 |

前言

12 | 因为电影的信息会根据地区的不同而不同,所以在 url 后面需要拼接地区 locationId,获取的方式有两种 —— 13 | 14 | - 访问 url:[`https://api-m.mtime.cn/Showtime/HotCitiesByCinema.api`](https://api-m.mtime.cn/Showtime/HotCitiesByCinema.api) 15 | - 将它写在本地,由于 json 较长,我就将它另存为了一个 md 文件,[戳我进链接](https://github.com/jokermonn/-Api/blob/master/TimeApp-Area-id.json) 16 | 17 | ps:Time 时光 App 是本地存了一份,但同时每次启动 app 又会访问 url,同时将数据重新写入文件 18 | 19 |

正在售票(包括正在热映和即将上映)

20 | url:`https://api-m.mtime.cn/PageSubArea/HotPlayMovies.api?locationId=?` 21 | 22 | 示例 url:[`https://api-m.mtime.cn/PageSubArea/HotPlayMovies.api?locationId=290`](https://api-m.mtime.cn/PageSubArea/HotPlayMovies.api?locationId=290) 23 | 24 | 说明:`locationId` 就是[前言](#preface)中所说的 `locationId` 25 | 26 | json 示例: 27 | 28 | { 29 | "count": 3, 30 | "movies": [ 31 | { 32 | "actorName1": "吴亦凡", 33 | "actorName2": "林更新", 34 | "btnText": "", 35 | "commonSpecial": "唐僧\"重色轻友\"与悟空反目", 36 | "directorName": "徐克", 37 | "img": "http://img5.mtime.cn/mt/2017/01/27/114649.37790398_1280X720X2.jpg", 38 | "is3D": true, 39 | "isDMAX": true, 40 | "isFilter": false, 41 | "isHot": true, 42 | "isIMAX": false, 43 | "isIMAX3D": true, 44 | "isNew": false, 45 | "length": 108, 46 | "movieId": 208325, 47 | "nearestShowtime": { 48 | "isTicket": true, 49 | "nearestCinemaCount": 152, 50 | "nearestShowDay": 1486022400, 51 | "nearestShowtimeCount": 1797 52 | }, 53 | "rDay": 28, 54 | "rMonth": 1, 55 | "rYear": 2017, 56 | "ratingFinal": 6.7, 57 | "titleCn": "西游伏妖篇", 58 | "titleEn": "Journey to the West: Demon Chapter", 59 | "type": "奇幻 / 动作 / 喜剧", 60 | "wantedCount": 2631 61 | }, 62 | { 63 | "actorName1": "成龙", 64 | "actorName2": "李治廷", 65 | "btnText": "", 66 | "commonSpecial": "大哥携“小鲜肉”全球寻宝石", 67 | "directorName": "唐季礼", 68 | "img": "http://img5.mtime.cn/mt/2017/01/13/191421.14582165_1280X720X2.jpg", 69 | "is3D": false, 70 | "isDMAX": false, 71 | "isFilter": false, 72 | "isHot": true, 73 | "isIMAX": false, 74 | "isIMAX3D": false, 75 | "isNew": false, 76 | "length": 108, 77 | "movieId": 217896, 78 | "nearestShowtime": { 79 | "isTicket": true, 80 | "nearestCinemaCount": 152, 81 | "nearestShowDay": 1486022400, 82 | "nearestShowtimeCount": 1767 83 | }, 84 | "rDay": 28, 85 | "rMonth": 1, 86 | "rYear": 2017, 87 | "ratingFinal": 6.2, 88 | "titleCn": "功夫瑜伽", 89 | "titleEn": "Kung-Fu Yoga", 90 | "type": "动作 / 冒险 / 喜剧", 91 | "wantedCount": 1130 92 | } 93 | ], 94 | "totalCinemaCount": 188, 95 | "totalComingMovie": 38, 96 | "totalHotMovie": 29 97 | } 98 | 99 | 解析: 100 | 101 | - `count`:`movies` 链表的长度 102 | - `movies`:热映电影信息 103 | - `actorName1`:主演1 104 | - `actorName2`:主演2 105 | - `commenSpecial`:一句话总结该电影 106 | - `directorName`:导演名 107 | - `img`:图片链接 108 | - `is3D`:是否是 3D 电影 109 | - `isDMAX`:是否是 DMAX 电影 110 | - `isFilter`:??? 111 | - `isHot`:是否是热映电影 112 | - `isIMAX`:是否是 IMAX 电影 113 | - `isIMAX3D`:是否是 IMAX3D 电影 114 | - `isNew`:??? 115 | - `length`:影片时长 116 | - `movieId`:影片 id,需要提供给[影片详情](#movie_detail) 117 | - `isTicket`:是否有票 118 | - `nearestCinemaCount`:今日上映该电影的影院数量 119 | - `rDay`、`rMonth`、`rYear`:影片上映年月日 120 | - `ratingFinal`:评分 121 | - `titleCn`:影片中文名 122 | - `titleEn`:影片英文名 123 | - `type`:影片类型 124 | - `wantedCount`:多少人想看 125 | - `totalCinemacount`:同城影院数量 126 | - `totalComingMovie`:即将上映影片数量 127 | - `totalHotMovie`:实际正在售票电影数量 128 | 129 |

正在热映

130 | 131 | url:`https://api-m.mtime.cn/Showtime/LocationMovies.api?locationId=?` 132 | 133 | 示例 url:[`https://api-m.mtime.cn/Showtime/LocationMovies.api?locationId=290`](https://api-m.mtime.cn/Showtime/LocationMovies.api?locationId=290) 134 | 135 | json 示例: 136 | 137 | { 138 | "bImg": "http://img5.mtime.cn/mg/2017/01/25/172446.45527982.jpg", 139 | "date": "2017-02-02", 140 | "lid": 20, 141 | "ms": [ 142 | { 143 | "NearestCinemaCount": 152, 144 | "NearestDay": 1486022400, 145 | "NearestShowtimeCount": 1767, 146 | "aN1": "成龙", 147 | "aN2": "李治廷", 148 | "cC": 152, 149 | "commonSpecial": "大哥携“小鲜肉”全球寻宝石", 150 | "d": "108", 151 | "dN": "唐季礼", 152 | "def": 0, 153 | "id": 217896, 154 | "img": "http://img5.mtime.cn/mt/2017/01/13/191421.14582165_1280X720X2.jpg", 155 | "is3D": false, 156 | "isDMAX": false, 157 | "isFilter": false, 158 | "isHot": true, 159 | "isIMAX": false, 160 | "isIMAX3D": false, 161 | "isNew": false, 162 | "isTicket": true, 163 | "m": "", 164 | "movieType": "动作 / 冒险 / 喜剧", 165 | "p": [ 166 | "动作冒险喜剧" 167 | ], 168 | "r": 6.2, 169 | "rc": 0, 170 | "rd": "20170128", 171 | "rsC": 0, 172 | "sC": 3003, 173 | "t": "功夫瑜伽", 174 | "tCn": "功夫瑜伽", 175 | "tEn": "Kung-Fu Yoga", 176 | "ua": -1, 177 | "versions": [], 178 | "wantedCount": 1132 179 | }, 180 | { 181 | "NearestCinemaCount": 151, 182 | "NearestDay": 1486022400, 183 | "NearestShowtimeCount": 1112, 184 | "aN1": "邓超", 185 | "aN2": "彭于晏", 186 | "cC": 151, 187 | "commonSpecial": "邓超彭于晏一起街头热血", 188 | "d": "102", 189 | "dN": "韩寒", 190 | "def": 0, 191 | "id": 237054, 192 | "img": "http://img5.mtime.cn/mt/2017/01/12/181512.62044353_1280X720X2.jpg", 193 | "is3D": false, 194 | "isDMAX": false, 195 | "isFilter": false, 196 | "isHot": true, 197 | "isIMAX": false, 198 | "isIMAX3D": false, 199 | "isNew": false, 200 | "isTicket": true, 201 | "m": "", 202 | "movieType": "喜剧", 203 | "p": [ 204 | "喜剧" 205 | ], 206 | "r": 6.5, 207 | "rc": 0, 208 | "rd": "20170128", 209 | "rsC": 0, 210 | "sC": 1928, 211 | "t": "乘风破浪", 212 | "tCn": "乘风破浪", 213 | "tEn": "Duckweed", 214 | "ua": -1, 215 | "versions": [ 216 | { 217 | "enum": 1, 218 | "version": "2D" 219 | } 220 | ], 221 | "wantedCount": 2802 222 | } 223 | ], 224 | "newActivitiesTime": 0, 225 | "totalComingMovie": 39, 226 | "voucherMsg": "" 227 | } 228 | 229 | 解析: 230 | 231 | - `bImg`:??? 232 | - `date`:日期 233 | - `lid`:`ms` 数量 x 10? 234 | - `ms`:具体正在热映电影信息 235 | - `aN1`:演员1 236 | - `aN2`:演员2 237 | - `cC`:今日上映该电影的影院数量,同`NearestCinemaCount` 238 | - `d`:影片时长 239 | - `dN`:导演 240 | - `def`:??? 241 | - `id`:影片 id,需要提供给[影片详情](#movie_detail) 242 | - `r`:影片评分 243 | - `rd`:影片上映时间 244 | - `sC`:??? 245 | - `t`:影片名 246 | - `tCn`:影片中文名 247 | - `tEn`:影片英文名 248 | - `versions`:影片观影类型,如 `3D`、`IMAX `等 249 | 250 |

即将上映

251 | url:`https://api-m.mtime.cn/Movie/MovieComingNew.api?locationId=?` 252 | 253 | 示例 url:[`https://api-m.mtime.cn/Movie/MovieComingNew.api?locationId=290`](https://api-m.mtime.cn/Movie/MovieComingNew.api?locationId=290) 254 | 255 | json 示例: 256 | 257 | { 258 | "attention": [ 259 | { 260 | "actor1": "范·迪塞尔", 261 | "actor2": "露比·罗丝", 262 | "director": "D·J·卡卢索", 263 | "id": 125805, 264 | "image": "http://img5.mtime.cn/mt/2017/01/05/105822.16893974_1280X720X2.jpg", 265 | "isFilter": false, 266 | "isTicket": true, 267 | "isVideo": true, 268 | "locationName": "美国", 269 | "rDay": 10, 270 | "rMonth": 2, 271 | "rYear": 2017, 272 | "releaseDate": "2月10日上映", 273 | "title": "极限特工:终极回归", 274 | "type": "动作 / 冒险 / 惊悚", 275 | "videoCount": 3, 276 | "videos": [ 277 | { 278 | "hightUrl": "", 279 | "image": "http://img5.mtime.cn/mg/2017/01/05/105124.83548335.jpg", 280 | "length": 30, 281 | "title": "极限特工:终极回归 中国版预告片", 282 | "url": "http://vf.test.com/Video/2017/01/05/mp4/170105105137886980.mp4", 283 | "videoId": 64107 284 | }, 285 | { 286 | "hightUrl": "", 287 | "image": "http://img5.mtime.cn/mg/2016/11/02/082857.54680705.jpg", 288 | "length": 139, 289 | "title": "极限特工:终极回归 中文版终极预告片", 290 | "url": "http://vf.test.com/Video/2016/11/02/mp4/161102083059175649.mp4", 291 | "videoId": 63180 292 | }, 293 | { 294 | "hightUrl": "", 295 | "image": "http://img31.mtime.cn/mg/2016/08/05/122731.94053608.jpg", 296 | "length": 91, 297 | "title": "极限特工:终极回归 中文版预告片", 298 | "url": "http://vf.test.com/Video/2016/08/05/mp4/160805122727094193.mp4", 299 | "videoId": 61933 300 | } 301 | ], 302 | "wantedCount": 1359 303 | }, 304 | { 305 | "actor1": "杜天皓", 306 | "actor2": "闫妮", 307 | "director": "黄美娜", 308 | "id": 238265, 309 | "image": "http://img5.mtime.cn/mt/2017/01/06/103911.39785227_1280X720X2.jpg", 310 | "isFilter": false, 311 | "isTicket": false, 312 | "isVideo": true, 313 | "locationName": "中国", 314 | "rDay": 10, 315 | "rMonth": 3, 316 | "rYear": 2017, 317 | "releaseDate": "3月10日上映", 318 | "title": "美容针", 319 | "type": "爱情 / 剧情", 320 | "videoCount": 1, 321 | "videos": [ 322 | { 323 | "hightUrl": "", 324 | "image": "http://img5.mtime.cn/mg/2017/01/09/134440.69569620.jpg", 325 | "length": 77, 326 | "title": "美容针 先导预告片", 327 | "url": "http://vf.test.com/Video/2017/01/09/mp4/170109134511076173.mp4", 328 | "videoId": 64162 329 | } 330 | ], 331 | "wantedCount": 13 332 | } 333 | ], 334 | "moviecomings": [ 335 | { 336 | "actor1": "贾乃亮", 337 | "actor2": "马丽", 338 | "director": "郭大雷", 339 | "id": 230769, 340 | "image": "http://img5.mtime.cn/mt/2017/01/16/104630.29361196_1280X720X2.jpg", 341 | "isFilter": false, 342 | "isTicket": true, 343 | "isVideo": true, 344 | "locationName": "中国", 345 | "rDay": 3, 346 | "rMonth": 2, 347 | "rYear": 2017, 348 | "releaseDate": "2月3日上映", 349 | "title": "东北往事之破马张飞", 350 | "type": "喜剧", 351 | "videoCount": 3, 352 | "videos": [ 353 | { 354 | "hightUrl": "", 355 | "image": "http://img5.mtime.cn/mg/2016/11/01/211216.75603152.jpg", 356 | "length": 58, 357 | "title": "东北往事之破马张飞 先行版预告片", 358 | "url": "http://vf.test.com/Video/2016/11/01/mp4/161101211204394445.mp4", 359 | "videoId": 63176 360 | }, 361 | { 362 | "hightUrl": "", 363 | "image": "http://img5.mtime.cn/mg/2016/12/06/215919.97317974.jpg", 364 | "length": 89, 365 | "title": "东北往事之破马张飞 剧情版预告片", 366 | "url": "http://vf.test.com/Video/2016/12/06/mp4/161206215730098083.mp4", 367 | "videoId": 63664 368 | }, 369 | { 370 | "hightUrl": "", 371 | "image": "http://img5.mtime.cn/mg/2016/12/29/153033.28636603.jpg", 372 | "length": 53, 373 | "title": "东北往事之破马张飞 彩蛋之为金士杰庆生", 374 | "url": "http://vf.test.com/Video/2016/12/29/mp4/161229153012984378.mp4", 375 | "videoId": 64028 376 | } 377 | ], 378 | "wantedCount": 1677 379 | }, 380 | { 381 | "actor1": "山新", 382 | "actor2": "姚雷", 383 | "director": "邓伟锋", 384 | "id": 233227, 385 | "image": "http://img5.mtime.cn/mt/2017/01/17/173909.17348918_1280X720X2.jpg", 386 | "isFilter": false, 387 | "isTicket": true, 388 | "isVideo": true, 389 | "locationName": "中国", 390 | "rDay": 5, 391 | "rMonth": 2, 392 | "rYear": 2017, 393 | "releaseDate": "2月5日上映", 394 | "title": "萤火奇兵", 395 | "type": "动画 / 奇幻 / 冒险", 396 | "videoCount": 3, 397 | "videos": [ 398 | { 399 | "hightUrl": "", 400 | "image": "http://img31.mtime.cn/mg/2016/06/29/142348.49429265.jpg", 401 | "length": 84, 402 | "title": "萤火奇兵 预告片", 403 | "url": "http://vf.test.com/Video/2016/06/29/mp4/160629142150295349.mp4", 404 | "videoId": 61192 405 | }, 406 | { 407 | "hightUrl": "", 408 | "image": "http://img31.mtime.cn/mg/2016/07/20/114328.48612333.jpg", 409 | "length": 45, 410 | "title": "萤火奇兵 先行版预告片", 411 | "url": "http://vf.test.com/Video/2016/07/20/mp4/160720114306954253.mp4", 412 | "videoId": 61554 413 | }, 414 | { 415 | "hightUrl": "", 416 | "image": "http://img5.mtime.cn/mg/2016/09/14/132405.13320533.jpg", 417 | "length": 93, 418 | "title": "预告片2", 419 | "url": "http://vf.test.com/Video/2016/09/14/mp4/160914132505167172.mp4", 420 | "videoId": 62519 421 | } 422 | ], 423 | "wantedCount": 179 424 | } 425 | ] 426 | } 427 | 428 | 解析: 429 | 430 | 首先大体分为两个部分 —— 431 | 432 | - `attention`:最受关注 433 | - `moviecomings`:即将上映 434 | 435 | 接下来就是里面具体的字段: 436 | 437 | - `videos`:预告片,不过我们无权访问 438 | 439 |

影片详情

440 | 441 | url:`https://ticket-api-m.mtime.cn/movie/detail.api?locationId=?&movieId=?` 442 | 443 | 解析:其中 `locationId` 就不做多解释了,`movieId` 可以分别从[正在售票](#sell_tickets)、[正在热映](#hot_movies)、[即将上映](#coming_movies)对应 json 的 `movieId`、`id`、`id` 字段中获取 444 | 445 | 示例 url:[`https://ticket-api-m.mtime.cn/movie/detail.api?locationId=290&movieId=125805`](https://ticket-api-m.mtime.cn/movie/detail.api?locationId=290&movieId=125805) 446 | 447 | json 示例: 448 | 449 | { 450 | "code": "1", 451 | "data": { 452 | "advertisement": { 453 | "advList": [ 454 | { 455 | "advTag": "", 456 | "endDate": 1514649599, 457 | "isHorizontalScreen": false, 458 | "isOpenH5": false, 459 | "startDate": 1451577600, 460 | "tag": "西游伏妖篇(票务)", 461 | "type": "203", 462 | "typeName": "影片详情页banner2", 463 | "url": "https://static4da.mtime.cn/feature/mobile/banner/2017/0122/210.html" 464 | } 465 | ], 466 | "count": 1, 467 | "error": "", 468 | "success": true 469 | }, 470 | "basic": { 471 | "actors": [ 472 | { 473 | "actorId": 913378, 474 | "img": "http://img31.mtime.cn/ph/2014/09/01/170748.64755972_1280X720X2.jpg", 475 | "name": "范·迪塞尔", 476 | "nameEn": "Vin Diesel", 477 | "roleImg": "http://img5.mtime.cn/mg/2017/01/05/162613.85098094.jpg", 478 | "roleName": "Xander Cage" 479 | } 480 | ], 481 | "award": { 482 | "awardList": [], 483 | "totalNominateAward": 0, 484 | "totalWinAward": 0 485 | }, 486 | "commentSpecial": "", 487 | "community": {}, 488 | "director": { 489 | "directorId": 903521, 490 | "img": "http://img31.mtime.cn/ph/2016/09/02/144150.57291017_1280X720X2.jpg", 491 | "name": "D·J·卡卢索", 492 | "nameEn": "D.J. Caruso" 493 | }, 494 | "festivals": [], 495 | "hotRanking": 5, 496 | "img": "http://img5.mtime.cn/mt/2017/01/05/105822.16893974_1280X720X2.jpg", 497 | "is3D": true, 498 | "isDMAX": true, 499 | "isEggHunt": false, 500 | "isFilter": false, 501 | "isIMAX": false, 502 | "isIMAX3D": true, 503 | "isTicket": true, 504 | "message": "该操作将清除您对该片的评分!是否确认?", 505 | "mins": "107分钟", 506 | "movieId": 125805, 507 | "name": "极限特工:终极回归", 508 | "nameEn": "xXx: The Return of Xander Cage", 509 | "overallRating": -1, 510 | "personCount": 123, 511 | "quizGame": {}, 512 | "releaseArea": "中国", 513 | "releaseDate": "20170210", 514 | "showCinemaCount": 27, 515 | "showDay": 1486627200, 516 | "showtimeCount": 14, 517 | "stageImg": { 518 | "count": 124, 519 | "list": [ 520 | { 521 | "imgId": 7180661, 522 | "imgUrl": "http://img31.mtime.cn/pi/2016/04/06/163644.66635601_1280X720X2.jpg" 523 | }, 524 | { 525 | "imgId": 7301637, 526 | "imgUrl": "http://img5.mtime.cn/pi/2016/11/02/174909.42908242_1280X720X2.jpg" 527 | }, 528 | { 529 | "imgId": 7203067, 530 | "imgUrl": "http://img31.mtime.cn/pi/2016/04/07/160807.83892239_1280X720X2.jpg" 531 | }, 532 | { 533 | "imgId": 7301211, 534 | "imgUrl": "http://img5.mtime.cn/pi/2016/11/01/091327.68190533_1280X720X2.jpg" 535 | } 536 | ] 537 | }, 538 | "story": "《极限特工3》将故事聚焦在由范·迪塞尔带头的的特工小队和以甄子丹为首的反派组织之间的对决。在这部作品中,迪塞尔饰演的特工凯奇不再是孤胆英雄,他将与一群出色的伙伴共同作战:塞缪尔·杰克逊饰演的国安局特工,印度女星迪皮卡·帕度柯妮饰演的与凯奇颇有渊源的女猎人,凭借《吸血鬼日记》走红的妮娜·杜波夫扮演的技术专家,《女子监狱》女星露比·罗丝饰演的狙击手,中国当红偶像演员吴亦凡饰演的特工Nicks。", 539 | "style": { 540 | "isLeadPage": 0, 541 | "leadImg": "https://img2.mtime.cn/mg/.jpg", 542 | "leadUrl": "" 543 | }, 544 | "totalNominateAward": 0, 545 | "totalWinAward": 0, 546 | "type": [ 547 | "动作", 548 | "冒险", 549 | "惊悚" 550 | ], 551 | "url": "https://movie.mtime.com/125805/", 552 | "video": { 553 | "count": 18, 554 | "hightUrl": "https://vfx.mtime.cn/Video/2017/01/05/mp4/170105105137886980.mp4", 555 | "img": "http://img5.mtime.cn/mg/2017/01/05/105124.57142324_235X132X4.jpg", 556 | "title": "极限特工:终极回归 中国版预告片", 557 | "url": "https://vfx.mtime.cn/Video/2017/01/05/mp4/170105105137886980_480.mp4", 558 | "videoId": 64107 559 | } 560 | }, 561 | "boxOffice": { 562 | "movieId": 125805, 563 | "ranking": 41, 564 | "todayBox": 0, 565 | "todayBoxDes": "", 566 | "todayBoxDesUnit": "", 567 | "totalBox": 0, 568 | "totalBoxDes": "", 569 | "totalBoxUnit": "" 570 | }, 571 | "live": {}, 572 | "related": { 573 | "goodsCount": 0, 574 | "goodsList": [], 575 | "relateId": 0, 576 | "relatedUrl": "https://mall-wv.mtime.cn/#!/commerce/list/", 577 | "type": 0 578 | } 579 | }, 580 | "msg": "成功", 581 | "showMsg": "" 582 | } 583 | 584 | 解析:其中`advertisement`、`related`是无关字段,不做解析 585 | 586 | - `basic`:具体内容 587 | - `actors`:演员信息 588 | - `actorId`:演员 id 589 | - `img`:演员照片 590 | - `name`:演员名 591 | - `nameEn`:演员英文名 592 | - `roleImg`:影片中饰演角色图片 593 | - `roleName`:影片中饰演角色名字 594 | - `award`:获得的奖项? 595 | - `commentSpecial`:一句话总结该电影 596 | - `community`:??? 597 | - `director`:导演信息 598 | - `hotRanking`:热映排行榜 599 | - `img`:剧照 600 | - `releaseArea`:上映地区 601 | - `stageImg`:影片剧照 602 | - `story`:剧情简介 603 | - `video`:预告片 604 | - `boxOffice`:专业解读内容 605 | - `ranking`:票房排名 606 | - `todayBox`:今日实时票房量 607 | - `todayBoxDes` 和 `todayBoxDesUnit`:今日实时票房量 608 | - `totalBox` 和 `totalBoxUnit`:累计票房量 609 | 610 | ps:这里还有一些字段没有解析,由于采样不够大,所以笔者也无法判断部分字段含义 611 | 612 |

演职员表

613 | 614 | url:`https://api-m.mtime.cn/Movie/MovieCreditsWithTypes.api?movieId=?` 615 | 616 | 示例 url:[`https://api-m.mtime.cn/Movie/MovieCreditsWithTypes.api?movieId=217896`](https://api-m.mtime.cn/Movie/MovieCreditsWithTypes.api?movieId=217896) 617 | 618 | json 示例: 619 | 620 | { 621 | "types": [ 622 | { 623 | "typeName": "导演", 624 | "typeNameEn": "Director", 625 | "persons": [ 626 | { 627 | "id": 892951, 628 | "name": "唐季礼", 629 | "nameEn": "Stanley Tong", 630 | "image": "http://img31.mtime.cn/ph/2014/02/22/192821.88623670_1280X720X2.jpg" 631 | } 632 | ] 633 | }, 634 | { 635 | "typeName": "演员", 636 | "typeNameEn": "Actor", 637 | "persons": [ 638 | { 639 | "id": 892908, 640 | "name": "成龙", 641 | "nameEn": "Jackie Chan", 642 | "image": "http://img31.mtime.cn/ph/2014/02/28/112422.17365543_1280X720X2.jpg", 643 | "personate": "Jack", 644 | "personateCn": "", 645 | "personateEn": "Jack", 646 | "roleCover": "http://img5.mtime.cn/mg/2017/01/11/145413.83105118_120X120X4.jpg" 647 | }, 648 | { 649 | "id": 1706195, 650 | "name": "李治廷", 651 | "nameEn": "Aarif Lee", 652 | "image": "http://img31.mtime.cn/ph/2016/08/29/141047.77357073_1280X720X2.jpg", 653 | "personate": "李琼斯", 654 | "personateCn": "李琼斯", 655 | "personateEn": "", 656 | "roleCover": "http://img5.mtime.cn/mg/2017/01/11/145626.54701937_120X120X4.jpg" 657 | } 658 | ] 659 | }, 660 | { 661 | "typeName": "编剧", 662 | "typeNameEn": "Writer", 663 | "persons": [ 664 | { 665 | "id": 892951, 666 | "name": "唐季礼", 667 | "nameEn": "Stanley Tong", 668 | "image": "http://img31.mtime.cn/ph/2014/02/22/192821.88623670_1280X720X2.jpg" 669 | } 670 | ] 671 | }, 672 | { 673 | "typeName": "制作人", 674 | "typeNameEn": "Produced by", 675 | "persons": [ 676 | { 677 | "id": 2038377, 678 | "name": "", 679 | "nameEn": "Maxine De Vere", 680 | "image": "http://img31.mtime.cn/ph/377/2038377/2038377_1280X720X2.jpg" 681 | }, 682 | { 683 | "id": 1209821, 684 | "name": "董韵诗", 685 | "nameEn": "Barbie Tung", 686 | "image": "http://img31.mtime.cn/ph/2016/09/05/174813.15229657_1280X720X2.jpg" 687 | } 688 | ] 689 | }, 690 | { 691 | "typeName": "美术设计", 692 | "typeNameEn": "Art Direction by", 693 | "persons": [ 694 | { 695 | "id": 2203560, 696 | "name": "", 697 | "nameEn": "Zhen Wu", 698 | "image": "http://img31.mtime.cn/ph/1560/2203560/2203560_1280X720X2.jpg" 699 | } 700 | ] 701 | }, 702 | { 703 | "typeName": "服装设计", 704 | "typeNameEn": "Costume Design by", 705 | "persons": [ 706 | { 707 | "id": 1265610, 708 | "name": "黄家仪", 709 | "nameEn": "Phoebe Wong", 710 | "image": "http://img31.mtime.cn/ph/1610/1265610/1265610_1280X720X2.jpg" 711 | } 712 | ] 713 | }, 714 | { 715 | "typeName": "视觉特效总监", 716 | "typeNameEn": "Visual Effects Supervisor", 717 | "persons": [ 718 | { 719 | "id": 2239688, 720 | "name": "", 721 | "nameEn": "Khandu Bidkar", 722 | "image": "http://img31.mtime.cn/ph/1688/2239688/2239688_1280X720X2.jpg" 723 | } 724 | ] 725 | }, 726 | { 727 | "typeName": "动作指导", 728 | "typeNameEn": "Choreographer", 729 | "persons": [ 730 | { 731 | "id": 892951, 732 | "name": "唐季礼", 733 | "nameEn": "Stanley Tong", 734 | "image": "http://img31.mtime.cn/ph/2014/02/22/192821.88623670_1280X720X2.jpg" 735 | }, 736 | { 737 | "id": 1865296, 738 | "name": "伍刚", 739 | "nameEn": "Gang Wu", 740 | "image": "http://img5.mtime.cn/ph/2016/11/26/222616.41967971_1280X720X2.jpg" 741 | } 742 | ] 743 | }, 744 | { 745 | "typeName": "副导演/助理导演", 746 | "typeNameEn": "Assistant Director", 747 | "persons": [ 748 | { 749 | "id": 1893463, 750 | "name": "", 751 | "nameEn": "James Cho", 752 | "image": "http://img31.mtime.cn/ph/1463/1893463/1893463_1280X720X2.jpg" 753 | } 754 | ] 755 | }, 756 | { 757 | "typeName": "声音部门", 758 | "typeNameEn": "Sound Department", 759 | "persons": [ 760 | { 761 | "id": 2203561, 762 | "name": "", 763 | "nameEn": "Sindri Þór Kárason", 764 | "image": "http://img31.mtime.cn/ph/1561/2203561/2203561_1280X720X2.jpg" 765 | } 766 | ] 767 | } 768 | ] 769 | } 770 | 771 | 解析: 772 | 773 | - `typeName`:已知取值有`导演`、`演员`、`编剧`等 774 | - `typeNameEn`:`typeName` 字段对应的英文 775 | - `persons`:具体人员信息 776 | - `id`:人员 id 777 | - `name`:人员姓名 778 | - `nameEn`:人员英文名 779 | 780 | 以下字段是演员特有的: 781 | 782 | - `image`:人员照片 783 | - `personate`:饰演角色名 784 | - `personateCn`:饰演角色名的中文名 785 | - `personateEn`:饰演角色名的英文名 786 | - `roleCover`:饰演角色剧照 787 | 788 | 人员详细信息 url:`https://ticket-api-m.mtime.cn/person/detail.api?personId=?&cityId=?` 789 | 790 | 示例 url:[`https://ticket-api-m.mtime.cn/person/detail.api?personId=892908&cityId=290`](https://ticket-api-m.mtime.cn/person/detail.api?personId=892908&cityId=290) 791 | 792 | 解析:就是上面获取到的人员 id 和你的地区 id 拼接上去就可以了,这里的内容挺多的,后期笔者再扩展 793 | 794 |

影片评论

795 | 796 | url:`https://ticket-api-m.mtime.cn/movie/hotComment.api?movieId=?` 797 | 798 | 示例 url:[`https://ticket-api-m.mtime.cn/movie/hotComment.api?movieId=125805`](https://ticket-api-m.mtime.cn/movie/hotComment.api?movieId=125805) 799 | 800 | json 示例: 801 | 802 | { 803 | "code": "1", 804 | "data": { 805 | "mini": { 806 | "list": [ 807 | { 808 | "commentDate": 1485949110, 809 | "commentId": 41530503, 810 | "content": "小小可惜,甄子丹已经过了最能打的年纪,倘若在杀破狼时期的话,甄子丹一定发挥的更好!", 811 | "headImg": "//img32.mtime.cn/up/2016/04/21/164216.20185739_128X128.jpg", 812 | "img": "", 813 | "isHot": false, 814 | "isPraise": false, 815 | "locationName": "温哥华", 816 | "nickname": "百家影评", 817 | "praiseCount": 1, 818 | "rating": 0, 819 | "replyCount": 0 820 | } 821 | ], 822 | "total": 106 823 | }, 824 | "plus": { 825 | "list": [ 826 | { 827 | "commentDate": 1468225860, 828 | "commentId": 7967852, 829 | "content": "\n常年锃光瓦亮的光头、一身健硕的肌肉、还有那永恒不变的T恤背心,这是一位令人为之惊讶、欢呼的糙汉,他便是范·迪塞尔。\n\n糙汉的《速激》人生\n\n\n\n提到老范,你最熟悉他哪部电影?那肯定没有其他答案,肯定是《速度与激情》系列了。\n这部全球最风靡的赛车题材系列电影起初的男一号是保罗·沃克饰演的卧底警察,但电影上映后人们发现,老范才是最吸引眼球的。\n拍摄《速度与激情2》时,老范因为档期原因没有参演,电影...", 830 | "headImg": "//img32.mtime.cn/up/2013/06/26/161117.68950441_128X128.jpg", 831 | "isWantSee": false, 832 | "locationName": "", 833 | "nickname": "冷子墨", 834 | "rating": 7, 835 | "replyCount": 4, 836 | "title": "biubiubiu!看大汉玩转你的小心跳!——范·迪塞尔" 837 | } 838 | ], 839 | "total": 2 840 | } 841 | }, 842 | "msg": "", 843 | "showMsg": "" 844 | } 845 | 846 | 解析: 847 | 848 | - `mini` 是短评,更多短评访问 url:`https://api-m.mtime.cn/Showtime/HotMovieComments.api?pageIndex=?&movieId=?` (如:[`https://api-m.mtime.cn/Showtime/HotMovieComments.api?pageIndex=1&movieId=217896`](https://api-m.mtime.cn/Showtime/HotMovieComments.api?pageIndex=1&movieId=217896)) 849 | - `plus` 是精选影评,更多精选影评访问 url:`https://api-m.mtime.cn/Movie/HotLongComments.api?pageIndex=?&movieId=?` (如[`https://api-m.mtime.cn/Movie/HotLongComments.api?pageIndex=1&movieId=217896`](https://api-m.mtime.cn/Movie/HotLongComments.api?pageIndex=1&movieId=217896)) 850 | - `ca`:用户名 851 | - `caimg`:用户头像 852 | - `cal`:用户地区 853 | - `cd`:用户评论时间 854 | - `ce`:用户评论内容 855 | - `ceimg`:评论内容中的图片地址 856 | - `commentCount`:评论点赞量 857 | - `cr`:用户评分 858 | - `isHot`:是否是热门评论 859 | - `tweetId`:??? 860 | - `total`:影评总数量 861 | 862 |

预告片&拍摄花絮

863 | 864 | url:`https://api-m.mtime.cn/Movie/Video.api?pageIndex=?&movieId=?` 865 | 866 | 示例 url:[`https://api-m.mtime.cn/Movie/Video.api?pageIndex=1&movieId=217896`](https://api-m.mtime.cn/Movie/Video.api?pageIndex=1&movieId=217896) 867 | 868 | 解析:`pageIndex` 就是分页值,`movieId` 可以分别从[正在售票](#sell_tickets)、[正在热映](#hot_movies)、[即将上映](#coming_movies)对应 json 的 `movieId`、`id`、`id` 字段中获取 869 | 870 | json 示例: 871 | 872 | { 873 | "totalPageCount": 1, 874 | "totalCount": 13, 875 | "videoList": [ 876 | { 877 | "id": 63236, 878 | "url": "https://vfx.mtime.cn/Video/2016/11/06/mp4/161106175251674452_480.mp4", 879 | "hightUrl": "https://vfx.mtime.cn/Video/2016/11/06/mp4/161106175251674452.mp4", 880 | "image": "http://img5.mtime.cn/mg/2016/11/06/175108.73063349_235X132X4.jpg", 881 | "title": "功夫瑜伽 先行版预告片", 882 | "type": 0, 883 | "length": 73 884 | }, 885 | { 886 | "id": 63798, 887 | "url": "https://vfx.mtime.cn/Video/2016/12/14/mp4/161214210123816534_480.mp4", 888 | "hightUrl": "https://vfx.mtime.cn/Video/2016/12/14/mp4/161214210123816534.mp4", 889 | "image": "http://img5.mtime.cn/mg/2016/12/14/210343.18175212_235X132X4.jpg", 890 | "title": "功夫瑜伽 “冰岛版”预告片", 891 | "type": 0, 892 | "length": 78 893 | } 894 | ] 895 | } 896 | 897 | 解析: 898 | 899 | - `id`:预告片 id 900 | - `url`:普通质量预告片链接 901 | - `highUlr`:高质量预告片链接 902 | - `img`:预告片图片 903 | - `title`:预告片名称 904 | - `type`:??? 905 | - `length`:预告片时长 906 | 907 |

剧照

908 | 909 | url:`https://api-m.mtime.cn/Movie/ImageAll.api?movieId=?` 910 | 911 | 示例 url:[`https://api-m.mtime.cn/Movie/ImageAll.api?movieId=217896`](https://api-m.mtime.cn/Movie/ImageAll.api?movieId=217896) 912 | 913 | json 示例: 914 | 915 | { 916 | "images": [ 917 | { 918 | "id": 7317312, 919 | "image": "http://img5.mtime.cn/pi/2016/12/25/153213.67270192_1000X1000.jpg", 920 | "type": 1 921 | }, 922 | { 923 | "id": 7323621, 924 | "image": "http://img5.mtime.cn/pi/2017/01/12/113131.12368570_1000X1000.jpg", 925 | "type": 6 926 | }, 927 | { 928 | "id": 7241716, 929 | "image": "http://img31.mtime.cn/pi/2016/06/12/092438.89530314_1000X1000.jpg", 930 | "type": 31 931 | }, 932 | 933 | { 934 | "id": 7315536, 935 | "image": "http://img5.mtime.cn/pi/2016/12/21/112702.53654087_1000X1000.jpg", 936 | "type": 41 937 | } 938 | ], 939 | "imageTypes": [ 940 | { 941 | "type": -1, 942 | "typeName": "显示所有" 943 | }, 944 | { 945 | "type": 6, 946 | "typeName": "剧照" 947 | }, 948 | { 949 | "type": 1, 950 | "typeName": "海报" 951 | }, 952 | { 953 | "type": 41, 954 | "typeName": "工作照" 955 | }, 956 | { 957 | "type": 31, 958 | "typeName": "新闻图片" 959 | } 960 | ] 961 | } 962 | 963 | 解析: 964 | 965 | - `images`:图片内容 966 | - `id`:图片 id 967 | - `image`:图片链接 968 | - `type`:图片类型码 969 | - `imageTypes`:图片类型内容 970 | - `typeName`:图片类型码对应的图片所属类型 -------------------------------------------------------------------------------- /TuniuStationCode.json: -------------------------------------------------------------------------------- 1 | { 2 | "北京": "200", 3 | "郑州": "1202", 4 | "广州": "602", 5 | "南京": "1602", 6 | "西安": "2702", 7 | "上海": "2500", 8 | "深圳": "619", 9 | "徐州": "1620", 10 | "重庆": "300", 11 | "天津": "3000", 12 | "武汉": "1402", 13 | "成都": "2802", 14 | "哈尔滨": "1102", 15 | "东莞": "606", 16 | "株洲": "1515", 17 | "沈阳": "1902", 18 | "济南": "2402", 19 | "洛阳": "1210", 20 | "厦门": "414", 21 | "青岛": "2413", 22 | "乌鲁木齐": "3102", 23 | "阿克苏": "3103", 24 | "安康": "2703", 25 | "安陆": "41476", 26 | "安庆": "103", 27 | "鞍山": "1903", 28 | "安顺": "803", 29 | "安阳": "1203", 30 | "白城": "1803", 31 | "保定": "1003", 32 | "宝鸡": "2704", 33 | "包头": "2104", 34 | "鲅鱼圈": "40453", 35 | "巴中": "2803", 36 | "北戴河": "40043", 37 | "北海": "704", 38 | "蚌埠": "104", 39 | "博乐": "42624", 40 | "苍南": "40788", 41 | "沧州": "1005", 42 | "长春": "1802", 43 | "常德": "1503", 44 | "长沙": "1502", 45 | "长治": "2603", 46 | "常州": "1604", 47 | "巢湖": "106", 48 | "潮州": "604", 49 | "承德": "1006", 50 | "郴州": "1504", 51 | "赤壁": "41501", 52 | "赤峰": "2105", 53 | "滁州": "107", 54 | "大理": "3306", 55 | "大连": "1906", 56 | "丹东": "1907", 57 | "大庆": "1104", 58 | "大同": "2604", 59 | "达州": "2804", 60 | "德令哈": "42572", 61 | "德清": "3432", 62 | "德阳": "41910", 63 | "德州": "2405", 64 | "定远": "40899", 65 | "东海县": "40728", 66 | "东胜": "40334", 67 | "东营": "2406", 68 | "都江堰": "41886", 69 | "敦煌": "505", 70 | "额济纳": "40394", 71 | "峨眉": "2807", 72 | "恩施": "1403", 73 | "鄂州": "1404", 74 | "佛山": "607", 75 | "福安": "41025", 76 | "福鼎": "41026", 77 | "涪陵": "303", 78 | "福清": "40954", 79 | "抚顺": "1908", 80 | "阜新": "1909", 81 | "阜阳": "108", 82 | "福州": "402", 83 | "抚州": "1703", 84 | "赣州": "1704", 85 | "高密": "41181", 86 | "格尔木": "42571", 87 | "广安": "2809", 88 | "广元": "2810", 89 | "桂林": "705", 90 | "贵阳": "802", 91 | "海城": "40424", 92 | "海口": "902", 93 | "海拉尔": "40342", 94 | "海宁": "40796", 95 | "哈密": "3109", 96 | "邯郸": "1008", 97 | "杭州": "3402", 98 | "涵江": "40963", 99 | "汉中": "2705", 100 | "鹤壁": "1204", 101 | "合川": "339", 102 | "合肥": "102", 103 | "鹤岗": "1106", 104 | "黑河": "1107", 105 | "衡山": "41542", 106 | "衡水": "1009", 107 | "衡阳": "1505", 108 | "菏泽": "2407", 109 | "淮安": "1606", 110 | "淮北": "110", 111 | "怀化": "1506", 112 | "淮南": "112", 113 | "黄山": "113", 114 | "黄石": "1406", 115 | "呼和浩特": "2102", 116 | "惠州": "609", 117 | "葫芦岛": "1910", 118 | "湖州": "3409", 119 | "酒泉": "508", 120 | "佳木斯": "1108", 121 | "吉安": "1705", 122 | "江门": "610", 123 | "江山": "3420", 124 | "胶州": "41139", 125 | "嘉善": "3434", 126 | "嘉兴": "3410", 127 | "嘉峪关": "516", 128 | "揭阳": "611", 129 | "吉林": "1800", 130 | "晋城": "2606", 131 | "景德镇": "1706", 132 | "荆门": "1419", 133 | "荆州": "1408", 134 | "金华": "3411", 135 | "济宁": "2408", 136 | "集宁": "40362", 137 | "晋江": "40989", 138 | "锦州": "1911", 139 | "吉首": "1517", 140 | "九江": "1708", 141 | "鸡西": "1109", 142 | "开封": "1208", 143 | "凯里": "42111", 144 | "喀什": "3111", 145 | "库尔勒": "42628", 146 | "昆明": "3302", 147 | "昆山": "1631", 148 | "廊坊": "1010", 149 | "兰州": "502", 150 | "耒阳": "1518", 151 | "拉萨": "3202", 152 | "梁平": "323", 153 | "连江": "40949", 154 | "连云港": "1610", 155 | "聊城": "2410", 156 | "辽阳": "1912", 157 | "辽源": "1806", 158 | "丽江": "3312", 159 | "临汾": "2608", 160 | "陵水": "904", 161 | "临海": "3413", 162 | "临河": "40355", 163 | "临沂": "2411", 164 | "六安": "115", 165 | "六盘水": "807", 166 | "柳州": "709", 167 | "溧阳": "1630", 168 | "龙岩": "404", 169 | "龙游": "40817", 170 | "娄底": "1508", 171 | "漯河": "1209", 172 | "罗源": "40950", 173 | "庐山": "1709", 174 | "吕梁": "2607", 175 | "马鞍山": "116", 176 | "满洲里": "40350", 177 | "美兰": "41864", 178 | "梅州": "614", 179 | "绵阳": "2816", 180 | "汨罗": "41565", 181 | "漠河": "40679", 182 | "牡丹江": "1110", 183 | "南昌": "1702", 184 | "南城": "41101", 185 | "南充": "2818", 186 | "南丰": "41103", 187 | "南宁": "702", 188 | "南通": "1611", 189 | "南阳": "1211", 190 | "内江": "2819", 191 | "宁波": "3415", 192 | "宁德": "406", 193 | "宁海": "3437", 194 | "盘锦": "1913", 195 | "攀枝花": "2820", 196 | "平顶山": "1212", 197 | "萍乡": "1710", 198 | "平遥": "2614", 199 | "莆田": "407", 200 | "迁安": "40040", 201 | "黔江": "315", 202 | "潜江": "1409", 203 | "蕲春": "41492", 204 | "清远": "615", 205 | "青州市": "41178", 206 | "秦皇岛": "1012", 207 | "琼海": "905", 208 | "齐齐哈尔": "1111", 209 | "七台河": "1112", 210 | "泉州": "408", 211 | "曲阜": "2423", 212 | "曲靖": "3315", 213 | "渠县": "41985", 214 | "衢州": "3419", 215 | "任丘": "40152", 216 | "日照": "2415", 217 | "如皋": "1643", 218 | "瑞安": "40791", 219 | "乳山": "41203", 220 | "三门峡": "1214", 221 | "三门县": "40826", 222 | "三明": "409", 223 | "三亚": "906", 224 | "商丘": "1215", 225 | "上饶": "1711", 226 | "上虞": "40803", 227 | "山海关": "40042", 228 | "汕头": "616", 229 | "韶关": "618", 230 | "绍兴": "3422", 231 | "邵阳": "1509", 232 | "神木": "42419", 233 | "石家庄": "1002", 234 | "十堰": "1410", 235 | "双鸭山": "1113", 236 | "四平": "1809", 237 | "松江": "2517", 238 | "松原": "1810", 239 | "松滋": "41485", 240 | "绥德": "42424", 241 | "绥芬河": "40658", 242 | "遂宁": "2821", 243 | "随州": "1411", 244 | "苏州": "1615", 245 | "宿州": "117", 246 | "泰安": "2416", 247 | "台安": "40422", 248 | "泰宁": "40976", 249 | "太原": "2602", 250 | "台州": "3424", 251 | "泰州": "1617", 252 | "唐山": "1013", 253 | "滕州": "41155", 254 | "天门": "1407", 255 | "天水": "511", 256 | "铁岭": "1914", 257 | "桐城": "40888", 258 | "通化": "1811", 259 | "通辽": "2110", 260 | "铜陵": "118", 261 | "铜仁": "808", 262 | "桐乡": "3431", 263 | "吐鲁番": "3118", 264 | "瓦房店": "40415", 265 | "万宁": "908", 266 | "万源": "41986", 267 | "万州": "302", 268 | "潍坊": "2417", 269 | "威海": "2418", 270 | "渭南": "2706", 271 | "文昌": "909", 272 | "温岭": "40829", 273 | "温州": "3426", 274 | "乌海": "2111", 275 | "芜湖": "120", 276 | "乌兰浩特": "40373", 277 | "武隆": "327", 278 | "武清": "3012", 279 | "武威": "513", 280 | "无锡": "1619", 281 | "武夷山": "413", 282 | "襄阳": "1416", 283 | "咸宁": "1414", 284 | "孝感": "1417", 285 | "霞浦": "41019", 286 | "西昌": "2828", 287 | "锡林浩特": "40380", 288 | "邢台": "1015", 289 | "西宁": "2302", 290 | "新乡": "1216", 291 | "信阳": "1217", 292 | "新余": "1712", 293 | "忻州": "2610", 294 | "许昌": "1218", 295 | "乐清": "40792", 296 | "延安": "2711", 297 | "盐城": "1621", 298 | "阳泉": "2611", 299 | "扬州": "1622", 300 | "延吉": "40547", 301 | "烟台": "2419", 302 | "宜宾": "2825", 303 | "宜昌": "1418", 304 | "宜春": "1713", 305 | "银川": "2202", 306 | "英德": "41737", 307 | "营口": "1915", 308 | "营山": "41954", 309 | "鹰潭": "1714", 310 | "义乌": "40810", 311 | "宜兴": "1628", 312 | "益阳": "1511", 313 | "永嘉": "40786", 314 | "永州": "1513", 315 | "尤溪": "40973", 316 | "岳阳": "1512", 317 | "余杭": "40772", 318 | "榆林": "2712", 319 | "运城": "2613", 320 | "余姚": "40780", 321 | "枣阳": "41462", 322 | "枣庄": "2420", 323 | "张家界": "1514", 324 | "张家口": "1016", 325 | "章丘": "41131", 326 | "张掖": "515", 327 | "漳州": "415", 328 | "湛江": "625", 329 | "昭通": "3321", 330 | "镇江": "1626", 331 | "镇远": "42115", 332 | "织金": "42106", 333 | "中山": "627", 334 | "中卫": "2206", 335 | "钟祥": "41471", 336 | "周口": "1219", 337 | "珠海": "628", 338 | "诸暨": "3428", 339 | "驻马店": "1220", 340 | "淄博": "2421", 341 | "遵义": "811" 342 | } -------------------------------------------------------------------------------- /TuniuTickets.md: -------------------------------------------------------------------------------- 1 | ## 途牛火车票查询 ## 2 | 3 | url: `http://huoche.tuniu.com/station_1708_2500` 4 | 5 | 请求方式:`GET` 6 | 7 | 请求参数: 8 | 9 | - `r`:固定取值 `train/trainTicket/getTickets` 10 | 11 | - `primary[departureDate]`:发车日期,`yyyy-MM-dd` 格式,例如:`2017-02-06` 12 | 13 | - `primary[departureCityCode]`:出发站码,请参考[途牛站码 json](https://github.com/jokermonn/-Api/blob/master/TuniuStationCode.json) 14 | 15 | - `primary[departureCityName]`:出发站名,请参考[途牛站码 json](https://github.com/jokermonn/-Api/blob/master/TuniuStationCode.json) 16 | 17 | - `primary[arrivalCityCode]`:到达站码,请参考[途牛站码 json](https://github.com/jokermonn/-Api/blob/master/TuniuStationCode.json) 18 | 19 | - `primary[arrivalCityName]`:到达站名,请参考[途牛站码 json](https://github.com/jokermonn/-Api/blob/master/TuniuStationCode.json) 20 | 21 | - `start`:起始值,默认 `0` 22 | 23 | - `limit`:数量,默认 `0` 24 | 25 | ps:`start` 和 `limit` 是分页相关的值,如果都是默认取`0`的话则返回所有的信息 26 | 27 | url 示例:[`http://huoche.tuniu.com/yii.php?r=train/trainTicket/getTickets&primary%5BdepartureDate%5D=2017-02-23&primary%5BdepartureCityCode%5D=200&primary%5BdepartureCityName%5D=%E5%8C%97%E4%BA%AC&primary%5BarrivalCityCode%5D=2500&primary%5BarrivalCityName%5D=%E4%B8%8A%E6%B5%B7&start=0&limit=0`](http://huoche.tuniu.com/yii.php?r=train/trainTicket/getTickets&primary%5BdepartureDate%5D=2017-02-23&primary%5BdepartureCityCode%5D=200&primary%5BdepartureCityName%5D=%E5%8C%97%E4%BA%AC&primary%5BarrivalCityCode%5D=2500&primary%5BarrivalCityName%5D=%E4%B8%8A%E6%B5%B7&start=0&limit=5)(`北京`到`上海`的`2017年02月13日`前十辆火车信息,`start` 取 `0`,`limit` 取 `5`) 28 | 29 | json 示例: 30 | 31 | { 32 | "code": 200, 33 | "data": { 34 | "count": 5, 35 | "stores": null, 36 | "trainTypeDetails": [ 37 | { 38 | "trainType": 0, 39 | "number": 36, 40 | "trainTypeName": "G-高铁" 41 | }, 42 | { 43 | "trainType": 6, 44 | "number": 1, 45 | "trainTypeName": "其它" 46 | }, 47 | { 48 | "trainType": 4, 49 | "number": 1, 50 | "trainTypeName": "T-特快" 51 | }, 52 | { 53 | "trainType": 2, 54 | "number": 3, 55 | "trainTypeName": "D-动车" 56 | } 57 | ], 58 | "streamId": null, 59 | "remark": null, 60 | "isFinish": null, 61 | "lastTime": 0, 62 | "expire": false, 63 | "freshUrl": null, 64 | "reserveUrls": null, 65 | "crossURL": null, 66 | "list": [ 67 | { 68 | "trainId": 16101, 69 | "trainNum": "G101", 70 | "trainType": 0, 71 | "trainTypeName": "高铁", 72 | "departStationName": "北京南站", 73 | "destStationName": "上海虹桥站", 74 | "departDepartTime": "06:44", 75 | "destArriveTime": "12:38", 76 | "duration": 354, 77 | "prices": [ 78 | { 79 | "leftNumber": 99, 80 | "seatStatus": "有", 81 | "seat": 0, 82 | "price": 1748, 83 | "stuPrice": null, 84 | "promotionPrice": 1748, 85 | "resId": 354865547, 86 | "detail": [], 87 | "priceMemo": null, 88 | "seatName": "商务座" 89 | }, 90 | { 91 | "leftNumber": 99, 92 | "seatStatus": "有", 93 | "seat": 2, 94 | "price": 933, 95 | "stuPrice": null, 96 | "promotionPrice": 933, 97 | "resId": 354865549, 98 | "detail": [], 99 | "priceMemo": null, 100 | "seatName": "一等座" 101 | }, 102 | { 103 | "leftNumber": 99, 104 | "seatStatus": "有", 105 | "seat": 3, 106 | "price": 553, 107 | "stuPrice": null, 108 | "promotionPrice": 553, 109 | "resId": 354865551, 110 | "detail": [], 111 | "priceMemo": null, 112 | "seatName": "二等座" 113 | } 114 | ], 115 | "durationDay": 1, 116 | "departStationType": 0, 117 | "destStationType": 1, 118 | "saleStatus": 0, 119 | "departStationId": 1175341, 120 | "destStationId": 1175076, 121 | "startSaleTime": "", 122 | "canChooseSeat": 0, 123 | "memo": "", 124 | "departureCityCode": 200, 125 | "arrivalCityCode": 2500, 126 | "departureCityName": "北京", 127 | "arrivalCityName": "上海", 128 | "upOrDown": 0, 129 | "trainStartDate": null, 130 | "durationStr": "5小时54分钟", 131 | "departStationTypeName": "ticketbtn", 132 | "destStationTypeName": "ticketbtn", 133 | "sellOut": 0 134 | }, 135 | { 136 | "trainId": 165, 137 | "trainNum": "G5", 138 | "trainType": 0, 139 | "trainTypeName": "高铁", 140 | "departStationName": "北京南站", 141 | "destStationName": "上海虹桥站", 142 | "departDepartTime": "07:00", 143 | "destArriveTime": "11:55", 144 | "duration": 295, 145 | "prices": [ 146 | { 147 | "leftNumber": 10, 148 | "seatStatus": "", 149 | "seat": 0, 150 | "price": 1748, 151 | "stuPrice": null, 152 | "promotionPrice": 1748, 153 | "resId": 1507056962, 154 | "detail": [], 155 | "priceMemo": null, 156 | "seatName": "商务座" 157 | }, 158 | { 159 | "leftNumber": 99, 160 | "seatStatus": "有", 161 | "seat": 2, 162 | "price": 933, 163 | "stuPrice": null, 164 | "promotionPrice": 933, 165 | "resId": 1507056963, 166 | "detail": [], 167 | "priceMemo": null, 168 | "seatName": "一等座" 169 | }, 170 | { 171 | "leftNumber": 99, 172 | "seatStatus": "有", 173 | "seat": 3, 174 | "price": 553, 175 | "stuPrice": null, 176 | "promotionPrice": 553, 177 | "resId": 1507056964, 178 | "detail": [], 179 | "priceMemo": null, 180 | "seatName": "二等座" 181 | } 182 | ], 183 | "durationDay": 1, 184 | "departStationType": 0, 185 | "destStationType": 1, 186 | "saleStatus": 0, 187 | "departStationId": 1175341, 188 | "destStationId": 1175076, 189 | "startSaleTime": "", 190 | "canChooseSeat": 0, 191 | "memo": "", 192 | "departureCityCode": 200, 193 | "arrivalCityCode": 2500, 194 | "departureCityName": "北京", 195 | "arrivalCityName": "上海", 196 | "upOrDown": 0, 197 | "trainStartDate": null, 198 | "durationStr": "4小时55分钟", 199 | "departStationTypeName": "ticketbtn", 200 | "destStationTypeName": "ticketbtn", 201 | "sellOut": 0 202 | }, 203 | { 204 | "trainId": 16105, 205 | "trainNum": "G105", 206 | "trainType": 0, 207 | "trainTypeName": "高铁", 208 | "departStationName": "北京南站", 209 | "destStationName": "上海虹桥站", 210 | "departDepartTime": "07:35", 211 | "destArriveTime": "13:15", 212 | "duration": 340, 213 | "prices": [ 214 | { 215 | "leftNumber": 14, 216 | "seatStatus": "", 217 | "seat": 0, 218 | "price": 1748, 219 | "stuPrice": null, 220 | "promotionPrice": 1748, 221 | "resId": 354865684, 222 | "detail": [], 223 | "priceMemo": null, 224 | "seatName": "商务座" 225 | }, 226 | { 227 | "leftNumber": 99, 228 | "seatStatus": "有", 229 | "seat": 2, 230 | "price": 933, 231 | "stuPrice": null, 232 | "promotionPrice": 933, 233 | "resId": 354865687, 234 | "detail": [], 235 | "priceMemo": null, 236 | "seatName": "一等座" 237 | }, 238 | { 239 | "leftNumber": 99, 240 | "seatStatus": "有", 241 | "seat": 3, 242 | "price": 553, 243 | "stuPrice": null, 244 | "promotionPrice": 553, 245 | "resId": 354865690, 246 | "detail": [], 247 | "priceMemo": null, 248 | "seatName": "二等座" 249 | } 250 | ], 251 | "durationDay": 1, 252 | "departStationType": 0, 253 | "destStationType": 1, 254 | "saleStatus": 0, 255 | "departStationId": 1175341, 256 | "destStationId": 1175076, 257 | "startSaleTime": "", 258 | "canChooseSeat": 0, 259 | "memo": "", 260 | "departureCityCode": 200, 261 | "arrivalCityCode": 2500, 262 | "departureCityName": "北京", 263 | "arrivalCityName": "上海", 264 | "upOrDown": 0, 265 | "trainStartDate": null, 266 | "durationStr": "5小时40分钟", 267 | "departStationTypeName": "ticketbtn", 268 | "destStationTypeName": "ticketbtn", 269 | "sellOut": 0 270 | }, 271 | { 272 | "trainId": 1611, 273 | "trainNum": "G11", 274 | "trainType": 0, 275 | "trainTypeName": "高铁", 276 | "departStationName": "北京南站", 277 | "destStationName": "上海虹桥站", 278 | "departDepartTime": "08:00", 279 | "destArriveTime": "13:10", 280 | "duration": 310, 281 | "prices": [ 282 | { 283 | "leftNumber": 99, 284 | "seatStatus": "有", 285 | "seat": 0, 286 | "price": 1748, 287 | "stuPrice": null, 288 | "promotionPrice": 1748, 289 | "resId": 354865337, 290 | "detail": [], 291 | "priceMemo": null, 292 | "seatName": "商务座" 293 | }, 294 | { 295 | "leftNumber": 99, 296 | "seatStatus": "有", 297 | "seat": 2, 298 | "price": 933, 299 | "stuPrice": null, 300 | "promotionPrice": 933, 301 | "resId": 354865338, 302 | "detail": [], 303 | "priceMemo": null, 304 | "seatName": "一等座" 305 | }, 306 | { 307 | "leftNumber": 99, 308 | "seatStatus": "有", 309 | "seat": 3, 310 | "price": 553, 311 | "stuPrice": null, 312 | "promotionPrice": 553, 313 | "resId": 354865339, 314 | "detail": [], 315 | "priceMemo": null, 316 | "seatName": "二等座" 317 | } 318 | ], 319 | "durationDay": 1, 320 | "departStationType": 0, 321 | "destStationType": 1, 322 | "saleStatus": 0, 323 | "departStationId": 1175341, 324 | "destStationId": 1175076, 325 | "startSaleTime": "", 326 | "canChooseSeat": 0, 327 | "memo": "", 328 | "departureCityCode": 200, 329 | "arrivalCityCode": 2500, 330 | "departureCityName": "北京", 331 | "arrivalCityName": "上海", 332 | "upOrDown": 0, 333 | "trainStartDate": null, 334 | "durationStr": "5小时10分钟", 335 | "departStationTypeName": "ticketbtn", 336 | "destStationTypeName": "ticketbtn", 337 | "sellOut": 0 338 | }, 339 | { 340 | "trainId": 16107, 341 | "trainNum": "G107", 342 | "trainType": 0, 343 | "trainTypeName": "高铁", 344 | "departStationName": "北京南站", 345 | "destStationName": "上海虹桥站", 346 | "departDepartTime": "08:05", 347 | "destArriveTime": "13:38", 348 | "duration": 333, 349 | "prices": [ 350 | { 351 | "leftNumber": 13, 352 | "seatStatus": "", 353 | "seat": 0, 354 | "price": 1748, 355 | "stuPrice": null, 356 | "promotionPrice": 1748, 357 | "resId": 354865873, 358 | "detail": [], 359 | "priceMemo": null, 360 | "seatName": "商务座" 361 | }, 362 | { 363 | "leftNumber": 99, 364 | "seatStatus": "有", 365 | "seat": 2, 366 | "price": 933, 367 | "stuPrice": null, 368 | "promotionPrice": 933, 369 | "resId": 354865874, 370 | "detail": [], 371 | "priceMemo": null, 372 | "seatName": "一等座" 373 | }, 374 | { 375 | "leftNumber": 99, 376 | "seatStatus": "有", 377 | "seat": 3, 378 | "price": 553, 379 | "stuPrice": null, 380 | "promotionPrice": 553, 381 | "resId": 354865875, 382 | "detail": [], 383 | "priceMemo": null, 384 | "seatName": "二等座" 385 | } 386 | ], 387 | "durationDay": 1, 388 | "departStationType": 0, 389 | "destStationType": 1, 390 | "saleStatus": 0, 391 | "departStationId": 1175341, 392 | "destStationId": 1175076, 393 | "startSaleTime": "", 394 | "canChooseSeat": 0, 395 | "memo": "", 396 | "departureCityCode": 200, 397 | "arrivalCityCode": 2500, 398 | "departureCityName": "北京", 399 | "arrivalCityName": "上海", 400 | "upOrDown": 0, 401 | "trainStartDate": null, 402 | "durationStr": "5小时33分钟", 403 | "departStationTypeName": "ticketbtn", 404 | "destStationTypeName": "ticketbtn", 405 | "sellOut": 0 406 | } 407 | ], 408 | "allTrainType": { 409 | "list": [ 410 | { 411 | "trainType": 0, 412 | "trainTypeName": "G-高铁", 413 | "trainTypeCode": "G", 414 | "link": "http://huoche.tuniu.com/station_200_2500/G" 415 | } 416 | ], 417 | "departureCityName": "北京", 418 | "arrivalCityName": "上海" 419 | }, 420 | "filter": { 421 | "filter": [ 422 | { 423 | "id": "trainTypes", 424 | "name": "车型", 425 | "pros": [ 426 | { 427 | "id": 0, 428 | "name": "G-高铁" 429 | }, 430 | { 431 | "id": 2, 432 | "name": "D-动车" 433 | }, 434 | { 435 | "id": 4, 436 | "name": "T-特快" 437 | }, 438 | { 439 | "id": 6, 440 | "name": "其它" 441 | } 442 | ] 443 | }, 444 | { 445 | "id": "seats", 446 | "name": "座席", 447 | "pros": [ 448 | { 449 | "id": 0, 450 | "name": "商务座" 451 | }, 452 | { 453 | "id": 2, 454 | "name": "一等座" 455 | }, 456 | { 457 | "id": 3, 458 | "name": "二等座" 459 | }, 460 | { 461 | "id": 4, 462 | "name": "高级软卧" 463 | }, 464 | { 465 | "id": 5, 466 | "name": "软卧" 467 | }, 468 | { 469 | "id": 6, 470 | "name": "硬卧" 471 | }, 472 | { 473 | "id": 8, 474 | "name": "硬座" 475 | } 476 | ] 477 | }, 478 | { 479 | "id": "departureStations", 480 | "name": "出发车站", 481 | "pros": [ 482 | { 483 | "name": "北京南站", 484 | "id": 1175341 485 | }, 486 | { 487 | "name": "北京站", 488 | "id": 1175342 489 | } 490 | ] 491 | }, 492 | { 493 | "id": "arrivalStations", 494 | "name": "到达车站", 495 | "pros": [ 496 | { 497 | "name": "上海站", 498 | "id": 1175075 499 | }, 500 | { 501 | "name": "上海虹桥站", 502 | "id": 1175076 503 | } 504 | ] 505 | }, 506 | { 507 | "id": "departureTimes", 508 | "name": "出发时段", 509 | "pros": [ 510 | { 511 | "id": "6-12", 512 | "name": "6-12点" 513 | }, 514 | { 515 | "id": "12-18", 516 | "name": "12-18点" 517 | }, 518 | { 519 | "id": "18-24", 520 | "name": "18-24点" 521 | } 522 | ] 523 | }, 524 | { 525 | "id": "arrivalTimes", 526 | "name": "到达时段", 527 | "pros": [ 528 | { 529 | "id": "6-12", 530 | "name": "6-12点" 531 | }, 532 | { 533 | "id": "12-18", 534 | "name": "12-18点" 535 | }, 536 | { 537 | "id": "18-24", 538 | "name": "18-24点" 539 | } 540 | ] 541 | }, 542 | { 543 | "id": "departStationTypes", 544 | "name": "是否始发", 545 | "pros": [ 546 | { 547 | "id": 0, 548 | "name": "始发" 549 | } 550 | ] 551 | } 552 | ], 553 | "sort": [ 554 | { 555 | "type": 2, 556 | "id": 1, 557 | "name": "出发时间" 558 | }, 559 | { 560 | "type": 2, 561 | "id": 3, 562 | "name": "运行时间" 563 | }, 564 | { 565 | "type": 2, 566 | "id": 2, 567 | "name": "到达时间" 568 | }, 569 | { 570 | "type": 2, 571 | "id": 4, 572 | "name": "价格" 573 | } 574 | ] 575 | } 576 | } 577 | } 578 | 579 | 解析: 580 | 581 | - `trainTypeDetails`:车辆类型信息 582 | - `trainType`:车辆类型码 583 | - `number`:该类车辆数量 584 | - `trainTypeName`:车辆类型码对应信息 585 | - `trainId`:车辆 id 586 | - `trainNum`:车辆车次号 587 | - `departStationName`:出发站 588 | - `destStationName`:到达站 589 | - `departDepartTime`:发车时间 590 | - `destArriveTime`:到达时间 591 | - `duration`:历时(以分钟为单位) 592 | - `price`:座位价格信息 593 | - `leftNumber`:剩余票量(`99`是表示票量充足) 594 | - `seatStatus`:`有`或为空,票量充足情况下为`有`,反之为空 595 | - `stuPrice`:学生价,但是途牛网好像一直获取为 `null` 596 | - `resId`:座位对应 id 597 | - `detail`:座位具体细节 598 | - `seat`:座位类型码 599 | - `price`:价格 600 | - `promotionPrice`:折扣价 601 | - `seatName`:座位类型 602 | - `durationDay`:历时天数 603 | - `departStationType`:??? 604 | - `destStationType`:??? 605 | - `saleStatus`:??? 606 | - `departStationId`:出发车站 id 607 | - `destStationId`:到达车站 id 608 | - `startSaleTime`:售票时间 609 | - `canChooseSeat`:是否可以选择座位,`0`表示不可以 610 | - `departureCityCode`:出发站城市码 611 | - `arrivalCityCode`:到达站城市码 612 | - `departureCityName`:出发站城市 613 | - `arrivalCityName`:到达站城市 614 | - `trainStartDate`:??? 615 | - `durationStr`:耗时 616 | - `sellOut`:是否售罄,`0`表没有售罄 617 | - `filter`:过滤信息 618 | - `id`:过滤参数名 619 | - `name`:名称 620 | - `pros`:参数及参数取值 -------------------------------------------------------------------------------- /XiaomiWeather.md: -------------------------------------------------------------------------------- 1 |

小米天气

2 | 3 | url:https://weatherapi.market.xiaomi.com/wtr-v3/weather/all 4 | 5 | 拼接参数: 6 | 7 | - `latitude`:纬度信息。可填固定值`0` 8 | - `longitude`:经度信息。可填固定值`0` 9 | - `locationKey`:`weathercn:` + 地区 `city_num`,见[数据库](https://github.com/jokermonn/-Api/blob/master/xiaomi_weather.db)中的 `city_num` 字段,例:`weathercn:101010100` 表北京 10 | - `sign`:签名值,固定值`zUFJoAR2ZVrDy1vF3D07` 11 | - `isGlobal`:固定值 `false` 12 | - `locale`:固定值 `zh_cn` 13 | - `days`:获取包括今日在内的几天内的数据。可不填,默认为`5` 14 | - `romVersion`:可不填或者去除该参数 15 | - `appVersion`:可不填或者去除该参数 16 | - `alpha`:可不填或者去除该参数 17 | - `device`:可不填或者去除该参数 18 | - `modDevice`:可不填或者去除该参数 19 | 20 | url 示例:[`https://weatherapi.market.xiaomi.com/wtr-v3/weather/all?latitude=110&longitude=112&isLocated=true&locationKey=weathercn%3A101010100&days=15&appKey=weather20151024&sign=zUFJoAR2ZVrDy1vF3D07&romVersion=7.2.16&appVersion=87&alpha=false&isGlobal=false&device=cancro&modDevice=&locale=zh_cn`](https://weatherapi.market.xiaomi.com/wtr-v3/weather/all?latitude=110&longitude=112&isLocated=true&locationKey=weathercn%3A101010100&days=15&appKey=weather20151024&sign=zUFJoAR2ZVrDy1vF3D07&romVersion=7.2.16&appVersion=87&alpha=false&isGlobal=false&device=cancro&modDevice=&locale=zh_cn) 或 [`https://weatherapi.market.xiaomi.com/wtr-v3/weather/all?latitude=110&longitude=112&locationKey=weathercn%3A101010100&days=15&appKey=weather20151024&sign=zUFJoAR2ZVrDy1vF3D07&isGlobal=false&locale=zh_cn`](https://weatherapi.market.xiaomi.com/wtr-v3/weather/all?latitude=110&longitude=112&locationKey=weathercn%3A101010100&days=15&appKey=weather20151024&sign=zUFJoAR2ZVrDy1vF3D07&isGlobal=false&locale=zh_cn) 21 | 22 | json 示例: 23 | 24 | { 25 | "current": { 26 | "feelsLike": { 27 | "unit": "℃", 28 | "value": "22" 29 | }, 30 | "humidity": { 31 | "unit": "%", 32 | "value": "56" 33 | }, 34 | "pressure": { 35 | "unit": "mb", 36 | "value": "1010.4" 37 | }, 38 | "pubTime": "2017-02-20T15:25:00+08:00", 39 | "temperature": { 40 | "unit": "℃", 41 | "value": "21" 42 | }, 43 | "uvIndex": "2", 44 | "visibility": { 45 | "unit": "km", 46 | "value": "" 47 | }, 48 | "weather": "0", 49 | "wind": { 50 | "direction": { 51 | "unit": "°", 52 | "value": "360" 53 | }, 54 | "speed": { 55 | "unit": "km/h", 56 | "value": "3.0" 57 | } 58 | } 59 | }, 60 | "forecastDaily": { 61 | "aqi": { 62 | "brandInfo": { 63 | "brands": [ 64 | { 65 | "brandId": "caiyun", 66 | "logo": "http://f5.market.mi-img.com/download/MiSafe/0d2cde44e7d5b4a742b9846b8e5aaae62ebed7784/a.webp", 67 | "names": { 68 | "en_US": "彩云天气", 69 | "zh_TW": "彩雲天氣", 70 | "zh_CN": "彩云天气" 71 | }, 72 | "url": "" 73 | } 74 | ] 75 | }, 76 | "pubTime": "2017-02-20T00:00:00+08:00", 77 | "status": 0, 78 | "value": [ 79 | 130, 80 | 66, 81 | 27, 82 | 24, 83 | 45 84 | ] 85 | }, 86 | "precipitationProbability": { 87 | "status": 0, 88 | "value": [ 89 | "8", 90 | "25", 91 | "73", 92 | "58", 93 | "6" 94 | ] 95 | }, 96 | "pubTime": "2017-02-20T15:10:00+08:00", 97 | "status": 0, 98 | "sunRiseSet": { 99 | "status": 0, 100 | "value": [ 101 | { 102 | "from": "2017-02-20T06:50:00+08:00", 103 | "to": "2017-02-20T18:10:00+08:00" 104 | }, 105 | { 106 | "from": "2017-02-21T06:50:00+08:00", 107 | "to": "2017-02-21T18:11:00+08:00" 108 | }, 109 | { 110 | "from": "2017-02-22T06:49:00+08:00", 111 | "to": "2017-02-22T18:11:00+08:00" 112 | }, 113 | { 114 | "from": "2017-02-23T06:48:00+08:00", 115 | "to": "2017-02-23T18:12:00+08:00" 116 | }, 117 | { 118 | "from": "2017-02-24T06:47:00+08:00", 119 | "to": "2017-02-24T18:13:00+08:00" 120 | } 121 | ] 122 | }, 123 | "temperature": { 124 | "status": 0, 125 | "unit": "℃", 126 | "value": [ 127 | { 128 | "from": "23", 129 | "to": "9" 130 | }, 131 | { 132 | "from": "13", 133 | "to": "7" 134 | }, 135 | { 136 | "from": "7", 137 | "to": "4" 138 | }, 139 | { 140 | "from": "8", 141 | "to": "6" 142 | }, 143 | { 144 | "from": "12", 145 | "to": "5" 146 | } 147 | ] 148 | }, 149 | "weather": { 150 | "status": 0, 151 | "value": [ 152 | { 153 | "from": "1", 154 | "to": "1" 155 | }, 156 | { 157 | "from": "7", 158 | "to": "22" 159 | }, 160 | { 161 | "from": "8", 162 | "to": "7" 163 | }, 164 | { 165 | "from": "2", 166 | "to": "2" 167 | }, 168 | { 169 | "from": "1", 170 | "to": "1" 171 | } 172 | ] 173 | }, 174 | "wind": { 175 | "direction": { 176 | "status": 0, 177 | "unit": "°", 178 | "value": [ 179 | { 180 | "from": "360", 181 | "to": "360" 182 | }, 183 | { 184 | "from": "360", 185 | "to": "360" 186 | }, 187 | { 188 | "from": "0", 189 | "to": "0" 190 | }, 191 | { 192 | "from": "360", 193 | "to": "360" 194 | }, 195 | { 196 | "from": "360", 197 | "to": "360" 198 | } 199 | ] 200 | }, 201 | "speed": { 202 | "status": 0, 203 | "unit": "km/h", 204 | "value": [ 205 | { 206 | "from": "3.0", 207 | "to": "3.0" 208 | }, 209 | { 210 | "from": "0.0", 211 | "to": "0.0" 212 | }, 213 | { 214 | "from": "24.0", 215 | "to": "24.0" 216 | }, 217 | { 218 | "from": "0.0", 219 | "to": "0.0" 220 | }, 221 | { 222 | "from": "0.0", 223 | "to": "0.0" 224 | } 225 | ] 226 | } 227 | } 228 | }, 229 | "forecastHourly": { 230 | "aqi": { 231 | "brandInfo": { 232 | "brands": [ 233 | { 234 | "brandId": "caiyun", 235 | "logo": "http://f5.market.mi-img.com/download/MiSafe/0d2cde44e7d5b4a742b9846b8e5aaae62ebed7784/a.webp", 236 | "names": { 237 | "en_US": "彩云天气", 238 | "zh_TW": "彩雲天氣", 239 | "zh_CN": "彩云天气" 240 | }, 241 | "url": "" 242 | } 243 | ] 244 | }, 245 | "pubTime": "2017-02-20T16:00:00+08:00", 246 | "status": 0, 247 | "value": [ 248 | 50, 249 | 47, 250 | 47, 251 | 47, 252 | 50, 253 | 55, 254 | 59, 255 | 63, 256 | 64, 257 | 61, 258 | 52, 259 | 43, 260 | 35, 261 | 31, 262 | 29, 263 | 27, 264 | 27, 265 | 26, 266 | 24, 267 | 23, 268 | 22, 269 | 20, 270 | 20 271 | ] 272 | }, 273 | "status": 0, 274 | "temperature": { 275 | "pubTime": "2017-02-20T16:00:00+08:00", 276 | "status": 0, 277 | "unit": "", 278 | "value": [ 279 | 18, 280 | 15, 281 | 13, 282 | 11, 283 | 10, 284 | 10, 285 | 10, 286 | 10, 287 | 10, 288 | 10, 289 | 10, 290 | 9, 291 | 9, 292 | 8, 293 | 8, 294 | 8, 295 | 8, 296 | 10, 297 | 10, 298 | 11, 299 | 12, 300 | 13, 301 | 13 302 | ] 303 | }, 304 | "weather": { 305 | "pubTime": "2017-02-20T16:00:00+08:00", 306 | "status": 0, 307 | "value": [ 308 | 0, 309 | 0, 310 | 1, 311 | 1, 312 | 1, 313 | 1, 314 | 1, 315 | 1, 316 | 1, 317 | 1, 318 | 0, 319 | 1, 320 | 1, 321 | 1, 322 | 1, 323 | 1, 324 | 1, 325 | 1, 326 | 1, 327 | 2, 328 | 2, 329 | 2, 330 | 3 331 | ] 332 | } 333 | }, 334 | "indices": { 335 | "indices": [ 336 | { 337 | "type": "uvIndex", 338 | "value": "2" 339 | }, 340 | { 341 | "type": "humidity", 342 | "value": "56" 343 | }, 344 | { 345 | "type": "feelsLike", 346 | "value": "22" 347 | }, 348 | { 349 | "type": "pressure", 350 | "value": "1010.4" 351 | }, 352 | { 353 | "type": "carWash", 354 | "value": "1" 355 | }, 356 | { 357 | "type": "sports", 358 | "value": "0" 359 | } 360 | ], 361 | "pubTime": "", 362 | "status": 0 363 | }, 364 | "aqi": { 365 | "aqi": "130", 366 | "brandInfo": { 367 | "brands": [ 368 | { 369 | "brandId": "CNEMC", 370 | "logo": "", 371 | "names": { 372 | "en_US": "CNEMC", 373 | "zh_TW": "中國環境監測總站", 374 | "zh_CN": "中国环境监测总站" 375 | }, 376 | "url": "" 377 | } 378 | ] 379 | }, 380 | "co": "1", 381 | "no2": "33", 382 | "o3": "89", 383 | "pm10": "159", 384 | "pm25": "99", 385 | "primary": "pm10", 386 | "pubTime": "2017-02-20T14:00:00+08:00", 387 | "so2": "31", 388 | "src": "中国环境监测总站", 389 | "status": 0 390 | }, 391 | "alerts": [], 392 | "yesterday": { 393 | "aqi": "223", 394 | "date": "2017-02-19T12:10:00+08:00", 395 | "status": 0, 396 | "sunRise": "2017-02-19T06:51:00+08:00", 397 | "sunSet": "2017-02-19T18:09:00+08:00", 398 | "tempMax": "21", 399 | "tempMin": "10", 400 | "weatherEnd": "1", 401 | "weatherStart": "2", 402 | "windDircEnd": "360", 403 | "windDircStart": "360", 404 | "windSpeedEnd": "0.0", 405 | "windSpeedStart": "0.0" 406 | }, 407 | "url": { 408 | "weathercn": "", 409 | "caiyun": "" 410 | }, 411 | "brandInfo": { 412 | "brands": [ 413 | { 414 | "brandId": "caiyun", 415 | "logo": "http://f5.market.mi-img.com/download/MiSafe/0d2cde44e7d5b4a742b9846b8e5aaae62ebed7784/a.webp", 416 | "names": { 417 | "en_US": "彩云天气", 418 | "zh_TW": "彩雲天氣", 419 | "zh_CN": "彩云天气" 420 | }, 421 | "url": "" 422 | } 423 | ] 424 | } 425 | } 426 | 427 | 解析: 428 | 429 | - `current`:当前天气状况 430 | - `feelsLike`:体感温度 431 | - `humidity`:相对空气湿度 432 | - `pressure`:气压 433 | - `temperature`:温度 434 | - `visibility`:能见度 435 | - `wind`:风信息 436 | - `unit`:该值单位 437 | - `value`:该值 438 | - `weather`:天气状况,[查看天气状况 json](https://github.com/jokermonn/-Api/blob/master/xiaomi_weather_status.json) 439 | - `pubTime`:更新时间 440 | - `uvIndex`:??? 441 | - `forecastDaily`:今日预测 442 | - `aqi`:空气质量相关 443 | - `pubTime`:更新时间 444 | - `value`:包括今日的五日内空气质量指数 445 | - `precipitationProbability`:降雨概率 446 | - `value`:包括今日的五日内降雨概率 447 | - `sunRiseSet`:日落日出相关 448 | - `from`:日出时间 449 | - `to`:日落时间 450 | - `temperature`:温度信息 451 | - `unit`:温度单位 452 | - `value`:包括今日的五日内温度信息 453 | - `from`:最高气温 454 | - `to`:最低气温 455 | - `weather`:天气状况,[查看天气状况 json](https://github.com/jokermonn/-Api/blob/master/xiaomi_weather_status.json) 456 | - `wind`:风信息 457 | - `direction`:风向 458 | - `speed`:风速 459 | - `unit`:该值单位 460 | - `from` 或 `to`:该值 461 | - `forecastHourly`:今日小时预警 462 | - `aqi`:空气质量指数 463 | - `temperature`:温度信息 464 | - `weather`:天气状况,[查看天气状况 json](https://github.com/jokermonn/-Api/blob/master/xiaomi_weather_status.json) 465 | - `value`:今日二十四小时内的值 466 | - `indices`:原型 467 | - `aqi`:空气相关 468 | - `aqi`:空气质量指数 469 | - `co`:一氧化碳指数 470 | - `no2`:二氧化氮指数 471 | - `o3`:臭氧指数 472 | - `pm10`:pm10指数 473 | - `pm25`:pm2.5指数 474 | - `so2`:二氧化硫指数 475 | - `src`:来源地 476 | - `yesterday`:昨日信息 477 | - `aqi`:空气质量指数 478 | - `date`:日期 479 | - `sunRise`:日出时间 480 | - `sunSet`:日落时间 481 | - `tempMax`:最高气温 482 | - `tempMin`:最低气温 483 | - `weatherEnd`:结束天气 484 | - `weatherStart`:起始天气 485 | - `windDircEnd`:结束风向 486 | - `windDircStart`:起始风向 487 | - `windSpeedEnd`:结束风速 488 | - `windSpeedStart`:起始风速 -------------------------------------------------------------------------------- /mircrosoft_bing_dic.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wulh8410/WebAPI/d499ae0fe2ba88b554db87130ee10b93ffd0427a/mircrosoft_bing_dic.db -------------------------------------------------------------------------------- /mircrosoft_bing_dic.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wulh8410/WebAPI/d499ae0fe2ba88b554db87130ee10b93ffd0427a/mircrosoft_bing_dic.xlsx -------------------------------------------------------------------------------- /train_station_code.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wulh8410/WebAPI/d499ae0fe2ba88b554db87130ee10b93ffd0427a/train_station_code.xlsx -------------------------------------------------------------------------------- /xiaomi_weather.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wulh8410/WebAPI/d499ae0fe2ba88b554db87130ee10b93ffd0427a/xiaomi_weather.db -------------------------------------------------------------------------------- /xiaomi_weather_status.json: -------------------------------------------------------------------------------- 1 | { 2 | "weatherinfo": [ 3 | { 4 | "code": 0, 5 | "wea": "晴" 6 | }, 7 | { 8 | "code": 1, 9 | "wea": "多云" 10 | }, 11 | { 12 | "code": 2, 13 | "wea": "阴" 14 | }, 15 | { 16 | "code": 3, 17 | "wea": "阵雨" 18 | }, 19 | { 20 | "code": 4, 21 | "wea": "雷阵雨" 22 | }, 23 | { 24 | "code": 5, 25 | "wea": "雷阵雨并伴有冰雹" 26 | }, 27 | { 28 | "code": 6, 29 | "wea": "雨夹雪" 30 | }, 31 | { 32 | "code": 7, 33 | "wea": "小雨" 34 | }, 35 | { 36 | "code": 8, 37 | "wea": "中雨" 38 | }, 39 | { 40 | "code": 9, 41 | "wea": "大雨" 42 | }, 43 | { 44 | "code": 10, 45 | "wea": "暴雨" 46 | }, 47 | { 48 | "code": 11, 49 | "wea": "大暴雨" 50 | }, 51 | { 52 | "code": 12, 53 | "wea": "特大暴雨" 54 | }, 55 | { 56 | "code": 13, 57 | "wea": "阵雪" 58 | }, 59 | { 60 | "code": 14, 61 | "wea": "小雪" 62 | }, 63 | { 64 | "code": 15, 65 | "wea": "中雪" 66 | }, 67 | { 68 | "code": 16, 69 | "wea": "大雪" 70 | }, 71 | { 72 | "code": 17, 73 | "wea": "暴雪" 74 | }, 75 | { 76 | "code": 18, 77 | "wea": "雾" 78 | }, 79 | { 80 | "code": 19, 81 | "wea": "冻雨" 82 | }, 83 | { 84 | "code": 20, 85 | "wea": "沙尘暴" 86 | }, 87 | { 88 | "code": 21, 89 | "wea": "小雨-中雨" 90 | }, 91 | { 92 | "code": 22, 93 | "wea": "中雨-大雨" 94 | }, 95 | { 96 | "code": 23, 97 | "wea": "大雨-暴雨" 98 | }, 99 | { 100 | "code": 24, 101 | "wea": "暴雨-大暴雨" 102 | }, 103 | { 104 | "code": 25, 105 | "wea": "大暴雨-特大暴雨" 106 | }, 107 | { 108 | "code": 26, 109 | "wea": "小雪-中雪" 110 | }, 111 | { 112 | "code": 27, 113 | "wea": "中雪-大雪" 114 | }, 115 | { 116 | "code": 28, 117 | "wea": "大雪-暴雪" 118 | }, 119 | { 120 | "code": 29, 121 | "wea": "浮沉" 122 | }, 123 | { 124 | "code": 30, 125 | "wea": "扬沙" 126 | }, 127 | { 128 | "code": 31, 129 | "wea": "强沙尘暴" 130 | }, 131 | { 132 | "code": 32, 133 | "wea": "飑" 134 | }, 135 | { 136 | "code": 33, 137 | "wea": "龙卷风" 138 | }, 139 | { 140 | "code": 34, 141 | "wea": "若高吹雪" 142 | }, 143 | { 144 | "code": 35, 145 | "wea": "轻雾" 146 | }, 147 | { 148 | "code": 53, 149 | "wea": "霾" 150 | }, 151 | { 152 | "code": 99, 153 | "wea": "未知" 154 | } 155 | ] 156 | } --------------------------------------------------------------------------------