https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/
GET
JSON
正常启用
以下参数为接口所需调用信息
| 参数 | 是否必填 | 类型 | 说明 | 示例 |
|---|---|---|---|---|
| url | 是 | 是 | 解析的地址 |
https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/
{
"code": 200,
"msg": "解析成功",
"data": {
"author": "每天看看腿",
"avatar": "https://p9-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/cdf80104b3404489b7f3cc1c7c4c40ee~tplv-f3gpralwbh-image.image?lk3s=1e780327&x-expires=1766055114&x-signature=kauovu%2BfXLT4BhYzVPsLED4VmeQ%3D",
"title": "脑震荡跑不了了",
"cover": "https://p3-ppx-sign.byteimg.com/tos-cn-p-0076/63679724e5b148ef9ff402efebc859b5_1734457889~tplv-f3gpralwbh-noop-v4:720:960:q60.webp?lk3s=1e780327&x-expires=1766055114&x-signature=i8fhAy3ynkjupu3sr4rvimLaTBs%3D",
"url": "http://v3-cdn-tos.ppxvod.com/90fb27d53f9784c5e20713d92a034146/6762b765/video/tos/cn/tos-cn-ve-0076/oseIAIrajQJQOAuehAkwB3hQPp5GJCLNGfrBgw/?a=1319&ch=0&cr=0&dr=6&cd=0%7C0%7C0%7C0&cv=1&br=614&bt=614&cs=0&ds=6&eid=2048&ft=3WkeUwwZRdfsCPo1PDSteWtCRXRLHL7_U41U_4VfGyGSNv7TrW&mime_type=video_mp4&qs=0&rc=NThpPDQ7NGk0aTw6aGU2NkBpM25tc3Q5cjR1dzMzNGYzM0AyNTItLzQuNWExYmE0MS1hYSNtZHBzMmRraGRgLS1kMTBzcw%3D%3D&btag=80000e00008000&cdn_type=2&dy_q=1734519114&feature_id=59cb2766d89ae6284516c6a254e9fb61&l=20241218185154BC24B447FE2BAAA206F5&pwid=154&req_cdn_type=r",
"text": {
"msg": "皮皮虾视频解析",
"time": "当前解析时间为:2024-12-18 18:51:54"
}
}
}
// JavaScript调用示例
fetch("https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
# Python调用示例
import requests
url = "https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/"
response = requests.get(url)
print(response.json())
// Java调用示例
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class ApiExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newBuilder()
.version(HttpClient.Version.HTTP_2)
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/"))
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();
}
}
<?php
// PHP调用示例
$url = "https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>
// C#调用示例
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
var url = "https://api.cenguigui.cn/api/sp_jx/pipixia.php?url=https://h5.pipix.com/s/iUPuLCCV/";
var response = await client.GetAsync(url);
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}
// 响应结果将显示在这里