接口地址:https://api.bducds.com/api/ppgx/
返回格式:JSON
请求方式:GET/POST
请求示例:https://api.bducds.com/api/ppgx/?url=http://h5.ippzone.com/pp/post/78266943052

请求参数说明:

名称 必填 类型 说明
  url string 分享视频链接

返回参数说明:

名称 类型 说明
  code string 返回的状态码
  url string 视频链接

返回示例:

{
	"data": {
		"post": {
			"videos": {
				"764907428": {
					"playcnt": 4899,
					"thumb": 764907428,
					"url": "http://tbvideo.ixiaochuan.cn/zyvd/84/99/161c-b5fd-11e9-b0b7-00163e0c0248",
					"urlwm": "http://tbvideo.ixiaochuan.cn/zyvd/88/e7/9d78-b5fd-11e9-a4b7-00163e02c2d6",
					"cover": "zyimg/78/24/49a0-b5fe-11e9-a3b7-00163e02acff{zydelogo=1}",
					"dur": 14,
					"h5url": ""
				}
			},
			"ip": "106.122.216.126",
			"digg_info": {
				"3": 2,
				"2": 2,
				"4": 9
			},
			"share": 58,
			"down": 5,
			"imgs": [{
				"dancnt": 0,
				"h": 960,
				"fmt": "jpeg",
				"mp4": 0,
				"video": 1,
				"w": 960,
				"id": 764907428
			}],
			"waction": 0,
			"review_time": 1586767142,
			"likes": 115,
			"id": 78266943052,
			"ct": 1564843602,
			"mid": 151313881811,
			"content": "QQ动态头像\n[如果不会压缩的,阔以帮你们弄哦]",
			"source": "user",
			"score": 0.619095453883313,
			"tid": 381044210,
			"status": 2,
			"vd_stat": 1,
			"topic_score": 37.65750766621648,
			"c_type": 1,
			"rec_t": 1564843857,
			"ut": 1586767147,
			"up_fake": 35,
			"up": 120,
			"reviews": 100,
			"vd_done": 1,
			"_id": 78266943052
		},
		"god_review_cnt": 0
	},
	"ret": 1
}

服务级错误码参照(error_code):

  错误码 说明
  201201 url不能为空!

系统级错误码参照:

  错误码 说明 旧版本(resultcode)

错误码格式说明(示例:200201):

  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

PHP演示: