The latest vibrato no watermark video address resolution api

Today, developers give a description of the interface is Videoparse ( https://www.videoparse.cn video) provides an interface to resolve watermark

Interface Features:
1, Videoparse short video analytic interface support: vibrato, deft, little red book, watermelon video, headlines today, depending on the micro, small volcano video, reflect off the video, small coffee show, opening the eyes, small video all the people, all the people K short video song, far right, a small shadow, microblogging, beauty shot, Pippi shrimp and other platforms to the watermark resolution.
2, support online recharge, 7 * 24 hours to recharge anytime, anywhere, convenient
3, detailed interface documentation

PHP code examples are as follows:

//开发者后台生成的appid
$appId = '';

//开发者后台生成的appsecret
$appSecret = '';

//需要解析的url
$url = '';

$param = [
    'appid'     => $appId,
    'appsecret' => $appSecret,
    'url'       => $url,
];

//得到请求的地址:https://api-sv.videoparse.cn/api/video/normalParse?appid=2m3Ju99MPXrNtkgH&appsecret=bNG3JYjT83qp4cib&url=http%3A%2F%2Fv.douyin.com%2Fa2X5ab%2F
$apiUrl = 'https://api-sv.videoparse.cn/api/video/normalParse?'.http_build_query($param);
$videoInfo = file_get_contents($apiUrl);
print_r($videoInfo);

Resolve short video interface

The URL of: https://api-sv.videoparse.cn/api/video/normalParse
request method: GET / POST
request parameters:

Field Types of Mandatory Remark Assignment
appid string AND appid Developers background generated appid
appsecret string AND appsecret Developers background generated appsecret
url string AND To resolve short video address

Return result:

success:

{"code":0,"msg":"success","body":{"source":"douyin","url":"http://v.douyin.com/2duavD/","title":"百岁山为什么称为水中贵族 视频寻找答案@抖音小助手","cover_url":"https://p1.pstatp.com/large/1bda8000852aa26656c12.jpg","video_url":"http://v6-dy.ixigua.com/2c3a7f072b949101ceac0d465b35ef82/5ca88513/video/m/2203c9cfb2a446e4c99bb6b34927f3e875911619893d00005d48e8bf9a57/?rc=am13aWg5bnlobDMzN2kzM0ApQHRAbzM2NzU1ODkzNDo1Ojk3PDNAKXUpQGczdylAZmxkamV6aGhkZjs0QDVecWBkb15pLV8tLWItL3NzLW8jbyM2LzYtLi0uLS0yMi4tLS4vaTpiLW8jOmAtbyNtbCtiK2p0OiMvLl4=","video_key":"ZRGO3V1JNKJ270QWE5"}}

failure:

{"code":10001,"msg":"parameter lost","body":[]}

Returns the comment field

Field name Note Remark
code error code Error code: Refer to Error Code Description
msg Error Messages Error code: Refer to Error Code Description
body
source Parsing video source Such as: douyin, kuaishou
url Developers requested url
title Short video title
cover_url Short video Cover
video_url No watermark video address This address has a lifetime limit, not as a permanent storage

Guess you like

Origin blog.51cto.com/14633978/2456612