首页 全部接口 API文档 文章 贡献者 友链 赞助 关于
登录/注册

三角洲每日密码TM

GET https://apis.whrx.chat/apis/tmsjzmm

三角洲每日密码TM API 文档

接口简介

三角洲每日密码TM API 是一个为三角洲行动游戏提供每日密码自动更新服务的接口。它能够实时获取全地图密码、位置说明、示意图,支持文本与 JSON 两种返回格式,数据每日更新,是游戏辅助工具的必备。

请求说明

  • 请求地址:https://api.xunjinlu.fun/apis/tmsjzmm
  • 请求方法:GET
  • 请求头:无特殊要求

请求参数

参数名类型是否必填说明
keystring接口访问密钥(开启密钥访问时必填,注册获取密钥)
typestring返回格式,可选值为 json 或 text

返回参数

参数名类型说明
更新日期string密码更新的日期
密码总数integer当前地图的密码总数
地图名称string当前密码所在的地图名称
密码string当前地图的密码
位置描述string密码所在的位置描述
位置图片array位置示意图的URL列表

返回示例

{
  "更新日期": "05月03日",
  "密码总数": 5,
  "地图名称": "零号大坝",
  "密码": "0390",
  "位置描述": "在主变电站与游客中心之间,有隐藏的地下入口。 从上图位置下去,进入管道后趴下匍匐即可看到隐藏密码门, 输入零号大坝的今日密码即可打开。",
  "位置图片": [
    "https://img.71acg.net/sykb~bbs/pc/1740704856747494",
    "https://img.71acg.net/sykb~bbs/pc/1740704856738367",
    "https://img.71acg.net/sykb~bbs/pc/1740731365039849"
  ]
}

错误码说明

  • 401:未授权访问,请检查key是否正确
  • 404:请求的资源不存在
  • 500:服务器内部错误

调用示例

直接访问链接

https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json

cURL命令示例

curl -X GET "https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json" -H "accept: application/json"

JavaScript (fetch) 示例

fetch('https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

jQuery AJAX 示例

$.ajax({
  url: 'https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json',
  type: 'GET',
  dataType: 'json',
  success: function(data) {
    console.log(data);
  },
  error: function(error) {
    console.error('Error:', error);
  }
});

Python (requests) 示例

import requests

url = 'https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json'
response = requests.get(url)
data = response.json()
print(data)

PHP (curl) 示例

$url = 'https://api.xunjinlu.fun/apis/tmsjzmm?key=YOUR_KEY&type=json';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);

HTML (iframe) 示例

HTML (script) 示例