vps交流

VRT API


本帖最后由 251768938 于 2022-7-12 12:58 编辑

仅用于学习交流沟通,大佬们还想交流沟通什么可以留言VRT API
彩云返回null的话代表接口被限制了

第一批更新:

IP类
GetIP

  1. https://api.vrt.app/ip/getip/

复制代码

返回Demo

  1. 127.0.0.1

复制代码

Translate类
返回多个结果

  1. https://api.vrt.app/translate/all/?word=[需要翻译的字符]
  2. https://api.vrt.app/translate/all/?word=你今天过得好吗

复制代码

返回Demo

  1. {"status": 1, "content": {"request": "你今天过得好吗", "result": {"king": "Are you live today", "caiyun": "How Was Your Day", "youdao": "Did you have a good day today", "google": "how are you today"}}, "errmsg": "success"}

复制代码

单个结果返回

  1. https://api.vrt.app/translate/king/?word=[需要翻译的字符]
  2. https://api.vrt.app/translate/youdao/?word=[需要翻译的字符]
  3. https://api.vrt.app/translate/google/?word=[需要翻译的字符]
  4. https://api.vrt.app/translate/caiyun/?word=[需要翻译的字符]

复制代码

Bing类
跳转每日图片

  1. https://api.vrt.app/bing/

复制代码

返回Demo

  1. https://s.cn.bing.net/th?id=OHR.SpiralHill_ZH-CN3829252235_1920x1080.jpg

复制代码

Json形式返回

  1. https://api.vrt.app/bing/?result=json

复制代码

返回Demo

  1. {"status": 1, "content": {"title": "悉尼奥林匹克公园里的湾标瞭望台,澳大利亚", "url": "https://s.cn.bing.net/th?id=OHR.SpiralHill_ZH-CN3829252235_1920x1080.jpg", "date": "2022-07-12"}, "errmsg": "success"}

复制代码

Video类
DY Json返回

  1. https://api.vrt.app/video/douyin/?share=[19位视频分享链接]&result=json
  2. https://api.vrt.app/video/douyin/?share=7119324501048839431&result=json

复制代码

返回Demo

  1. {"status": 1, "content": {"title": "人民日报-这幕看得紧张也心疼!电力工人高空作业间隙“悬空”休息。网友:他们的脚下是我们的万家灯火,辛苦了!-7119324501048839431", "video_url": "https://aweme.snssdk.com/aweme/v1/play/?video_id=v0200fg10000cb6enkbc77u63s4hlil0&ratio=720p&line=0"}, "errmsg": "success"}

复制代码

DY直接返回视频

  1. https://api.vrt.app/video/douyin/?share=[19位视频分享链接]
  2. https://api.vrt.app/video/douyin/?share=7119324501048839431

复制代码

返回Demo

  1. https://aweme.snssdk.com/aweme/v1/play/?video_id=v0200fg10000cb6enkbc77u63s4hlil0&ratio=720p&line=0

复制代码

Other类
二维码生成
可加参数size=xxx

  1. https://api.vrt.app/other/qrcode/?word=[需要生成二维码的字符]
  2. https://api.vrt.app/other/qrcode/?word=你今天过得好吗

复制代码

返回Demo
VRT APIVRT API

来个 text/plain ,不要 text/html
本帖最后由 251768938 于 2022-7-12 12:56 编辑

リムル 发表于 2022-7-12 12:40
来个 text/plain ,不要 text/html

已修改为application/json返回
https://www.vrt.app/247.html
大佬需求的话评论在这里,方便我统一解决VRT APIVRT API