Skip to content

Latest commit

 

History

History
288 lines (230 loc) · 9.54 KB

开发杂类.md

File metadata and controls

288 lines (230 loc) · 9.54 KB

10. 开发杂类

说明: 一些杂七杂八的都在这里

10.1 QQ昵称和头像

数据来源http://r.qzone.qq.com/fcg-bin/cgi_get_portrait.fcg

必选参数: qq qq账号

接口地址:

        https://api.isoyu.com/qq/qq.asp?qq=               (头像来源qlogo.cn)
        https://api.isoyu.com/qq/qq.jsp?qq=               (头像来源qlogo.cn)
        https://api.isoyu.com/qq/qq.php?qq=               (头像来源qlogo.cn)
        https://api.isoyu.com/qq/qq2.asp?qq=              (头像来源qq.com)
        https://api.isoyu.com/qq/qq2.jsp?qq=              (头像来源qq.com)
        https://api.isoyu.com/qq/qq2.php?qq=              (头像来源qq.com)

调用例子:

        https://api.isoyu.com/qq/qq.asp?qq=10001
        https://api.isoyu.com/qq/qq.jsp?qq=10001
        https://api.isoyu.com/qq/qq.php?qq=10001
        https://api.isoyu.com/qq/qq2.asp?qq=10001
        https://api.isoyu.com/qq/qq2.jsp?qq=10001
        https://api.isoyu.com/qq/qq2.php?qq=10001

返回:

{
	"name": "pony",
	"img": "https://q.qlogo.cn/headimg_dl?dst_uin=10001&spec=100"
}
{
"name":"pony",
"img":"http://qlogo2.store.qq.com/qzone/10001/10001/100"
}

10.2 长网址缩短与还原

可压缩所有网址包括图片、flash、mp3、rar等所有互联网地址,稳定,永久有效!

必选参数:

type t.cn 126.am dwz.cn is.gd

url 需要操作的值

接口地址:

        长网址缩短:
        https://api.isoyu.com/url/create.asp
        https://api.isoyu.com/url/create.jsp
        https://api.isoyu.com/url/create.php
        短网址还原:
        https://api.isoyu.com/url/expand.asp
        https://api.isoyu.com/url/expand.jsp
        https://api.isoyu.com/url/expand.php

长网址缩短例子:

        https://api.isoyu.com/url/create.asp?type=t.cn&url=https://api.isoyu.com/ 
        https://api.isoyu.com/url/create.jsp?type=t.cn&url=https://api.isoyu.com/ 
        https://api.isoyu.com/url/create.php?type=t.cn&url=https://api.isoyu.com/ 

返回:

{
"code":1,
"message":"success",
"data":"http://t.cn/R9erV1d"
}

短网址还原例子:

        https://api.isoyu.com/url/expand.asp?type=t.cn&url=http://t.cn/R9erV1d
        https://api.isoyu.com/url/expand.jsp?type=t.cn&url=http://t.cn/R9erV1d
        https://api.isoyu.com/url/expand.php?type=t.cn&url=http://t.cn/R9erV1d

返回:

{
"code":1,
"message":"success",
"data":"https://api.isoyu.com/"
}

10.3 搜索服务

搜索框引用和实时热门搜索排行,默认http,支持ssl

必选参数:

搜索框引用接口地址:

    http://isoyu.com/?a=code&type=search  

调用例子:

        <iframe src="http://isoyu.com/?a=code&type=search" frameborder="0" scrolling="no" width="500" height="34"></iframe>
        

效果:

姬长信API

实时热门搜索排行接口地址:

    http://isoyu.com/?a=code&type=top  

    https://api.isoyu.com/top.php

调用例子:

        <iframe src="http://isoyu.com/?a=code&type=top" frameborder="0" scrolling="no" width="300" height="300"></iframe>
        

效果:

姬长信API

其他代码: 说明:如果要把搜索集成到其他网站,通过以下接口可以实现搜索 例子:

utf8编码的页面URL接口: http://isoyu.com/?q={$q} 

gb2312编码的页面URL接口: http://isoyu.com/?q={$q}&cr=gb2312 

gbk编码的页面URL接口: http://isoyu.com/?q={$q}&cr=gbk 

接口URL中的{$q}代码搜索词
        

10.4 VIP视频解析

基于DASH优化的P2P流媒体视频播放.支持:腾讯,爱奇艺,优酷,乐视,芒果,搜狐,PPTV,华数TV,M1905电影网,暴风影音,风行,CCTV,咪咕视频,天天看看,音悦台,哔哩哔哩,AcFun,美拍,秒拍,土豆,bilibili,龙珠,虎牙直播,NOW直播,YY神曲,一直播,映客直播,360短视频,27盘等资源站,2MM恋恋影视,糖豆,梨视频,FLV,M3U8,MP4

播放器:ckplayer

必选参数: url 视频解析地址

接口地址:

        https://api.isoyu.com/ckplayer/?url= 

调用例子:

        https://api.isoyu.com/ckplayer/?url=https://v.qq.com/x/cover/nilk5fd4bkqdk3a.html

效果: 姬长信API

10.5 抖音去水印

status:请求状态码true/false  
message:提示文本,返回结果错误时会返回地址信息  
nickname:抖音昵称  
awemeId:视频资源Id
info:视频信息 
image:封面图片地址(静态)
headImage:用户头像地址  
video_Url:无水印地址  
music_urls:音乐原声地址 
dynamic_cover:动态封面图  
long_video:长视频 
userId:作者userId
shortId:作者抖音Id
time:时间戳

请注意时间戳,视频不定期失效

必选参数:

url 视频链接

接口地址:

        https://api.isoyu.com/ckplayer/douyin.asp?url= 
        https://api.isoyu.com/ckplayer/douyin.jsp?url=
        https://api.isoyu.com/ckplayer/douyin.php?url=

调用例子:

        https://api.isoyu.com/ckplayer/douyin.asp?url=http://v.douyin.com/rYs9HU
        https://api.isoyu.com/ckplayer/douyin.jsp?url=http://v.douyin.com/rYs9HU
        https://api.isoyu.com/ckplayer/douyin.php?url=http://v.douyin.com/rYs9HU

返回:

{
    "status":true,
    "nickname":"陳奕迅所長",
    "shortId":"85815699",
    "userId":71136311811,
    "awemeId":"6629588912228535555",
    "headImage":"https://p3-dy.byteimg.com/aweme/720x720/c7a50016c177b8d83b6e.jpeg",
    "image":"http://p3-dy.byteimg.com/large/129e100017985e14f90e6.jpeg",
    "dynamic_cover":"https://p3-dy.byteimg.com/obj/129970000efcf6ffee755",
    "video_Url":[
        "http://v3-dy-z.ixigua.com/90e0b2168f0e4a546cc123758e2c5b8a/5cffc2ea/video/m/220f880b47b03d54a789c8caed4897ab5f711610bbb50000474b6680d20e/?rc=anRmbjxrNGxqajMzO2kzM0ApQHRAb0Y0NTs0OTkzNDM3NTQ5PDNAKXUpQGczdSlAZjN2KUBmaHV5cTFmc2hoZGY7NEBgY2hnbl5sYy1fLS1fLS9zczVvI28jPy8uMjQtLi0tLS0vLi0uL2k6Yi5wIzphLXEjOmAwbyNwYmZyaF4ranQ6Iy8uXg%3D%3D",
        "http://v6-dy.ixigua.com/cb8bd094abc2dc146c145f423fd45d0e/5cffc2ea/video/m/220f880b47b03d54a789c8caed4897ab5f711610bbb50000474b6680d20e/",
        "https://aweme.snssdk.com/aweme/v1/play/?video_id=v0200fb80000bg0gfio1ahq9jkkcfqcg&line=0&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0",
        "https://api.amemv.com/aweme/v1/play/?video_id=v0200fb80000bg0gfio1ahq9jkkcfqcg&line=1&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0"
    ],
    "long_video":[

    ],
    "music_urls":[
        "http://p3-dy.byteimg.com/obj/a02a0001f6153c8784e3"
    ],
    "info":{
        "share_desc":"在抖音,记录美好生活",
        "share_title":"#明日之后明日之后 游戏人生,钢琴",
        "bool_persist":0,
        "share_signature_url":"https://tiktokv.com/",
        "share_signature_desc":"TikTok: Make Every Second Count",
        "share_quote":"",
        "share_url":"https://www.iesdouyin.com/share/video/6629588912228535555/?region=CN&mid=6582505245845392141&u_code=k1076kib&titleType=title",
        "share_weibo_desc":"#在抖音,记录美好生活##明日之后明日之后 游戏人生,钢琴",
        "share_title_myself":"",
        "share_title_other":"",
        "share_link_desc":"#在抖音,记录美好生活##明日之后明日之后 游戏人生,钢琴 %s 复制此链接,打开【抖音短视频】,直接观看视频!"
    },
    "time":1560261839
}

10.6 isbn查询

说明:数据来源谷歌&豆瓣

每首次查询新的数据会存储至数据库,此后会变快

必选参数: isbn isbn

接口地址:

        https://api.isoyu.com/books/isbn/

调用例子:

        https://api.isoyu.com/books/isbn/?isbn=9787562404507

返回:

{
    "code":1,
    "kind":"books#volumes",
    "totalItems":1,
    "title":"汽车电器及电子设备",
    "author":[
        {
            "name":"未知"
        }
    ],
    "logo":"https://img1.doubanio.com/view/subject/l/public/s8920467.jpg",
    "publisher":"未知",
    "published":" 2004-8",
    "page":" 336",
    "price":" 26.00元",
    "designed":"未知",
    "description":"《汽车电器及电子设备(第4版)》主要内容包括:蓄电池、交流发电机及调节器、起动机、汽车点火系、照明与信号、汽车仪表及信息显示系统、汽车空调系统、车身电器设备、发动机的电子控制系统、传动系统的电子控制、底盘电子控制技术、汽车电气设备总线路共十二章。《汽车电器及电子设备(第4版)》可作为高等院校汽车运用工程专业的试用教材,也可供高等院校汽车设计专业师生及汽车制造厂、汽车修理厂、汽车运输部门的工程技术人员、工人参考。"
}