接口地址: http://api.ilingku.com/int/v1/randsvideo

返回格式: json/text/

请求方式: get/post

请求示例: http://api.ilingku.com/int/v1/randsvideo?act=list&format=url

请求参数说明:

名称 必填 类型 说明
act string 输出类型(new=最新、list=分类、留空=站长精选)
id string act参数=list时,输出分类(1=动漫、2=风景、3=美女、4=体育、5=科幻、6=动物、7=明星、8=游戏、9=其他、12=汽车、15=创意、17=小清新、18=情侣、19=3D)
format string 输出格式(json、text、url)

返回参数说明:

名称 类型 说明
code string 返回状态码
msg string 返回错误提示
url string 返回视频url地址

返回示例:

{
    "code": 200,
    "msg": "success",
    "url": "https://mobile-img-baofun.zhhainiao.com/pcwallpaper_ugc_mobile/preview/cd99208ce1b32dd1dbd1f22baf520464_preview.mp4"
}

错误码格式说明:

名称 类型 说明
code string 错误代码
msg string 错误提示

代码示例:

<video width="100%" height="100%" autoplay>
<source src="http://api.ilingku.com/int/v1/randsvideo?format=url" type="video/mp4">
您的浏览器不支持视频标签。
</video>
. 领酷API接口大全 Inc All Rights Reserved.蜀ICP备2023019253号-2