接口支持GET和POST请求方式,推荐使用POST方式。如果使用GET请求方式,拼接视频链接的时候,先对视频链接进行UrlEncode编码,然后再拼接到接口地址里。 ~~~[api] post:https://admin.feeprint.com/dsp *key=接口客户ID#接口客户ID *token=接口秘钥#接口秘钥 *url=视频链接(不支持中文)#视频链接 <<< success //如果是视频 { "status":"101", "msg":"请求成功", "data":{ "title":"Neko Gifs", "url":"https://ve.media.tumblr.com/tumblr_q6q2zcCixK1tawged_r2.mp4", "img":"https://66.media.tumblr.com/tumblr_q6q2zcCixK1tawged_r2_smart1.jpg", "imgs": null } } //如果是图集 { "status": "101", "msg": "请求成功", "data": { "imgs": [ "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_0.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_1.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_2.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_3.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_4.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_5.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_6.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_7.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_8.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_9.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_10.jpg", "//tx2.a.yximgs.com/ufile/atlas/NTIyOTI0MjE0Njg1ODk0NTM5NF8xNTg2NjA2MjA2OTA4_11.jpg" ], "img": null, "title": "• 去爱值得你爱的人 不留遗憾\n#iphone壁纸 \n#支持快手传播正能量 \n#感谢快手我要上热门", "url": null } } <<< error { "status":"104", "msg":"TOKEN和秘钥不匹配", "data":null } ~~~ ### 返回状态码说明 | 状态码 | 说明 | | --- | --- | | 101 | 请求成功 | | 102 | 缺少必要参数 | | 103 | 不支持的URL | | 104 | TOKEN和秘钥不匹配 | | 105 | 视频链接格式错误 | | 107 | 状态已被禁用 | | 108 | 接口到期 |