ARK: Survival Evolved
百通/吞噬/山海经/群895340824-水晶-6513 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10772949json
{
"response": {
"steam_id": "90280322411561985",
"domain": null,
"id": 10772949,
"ip": "106.12.56.40",
"port": 11164,
"query": 21164,
"color": 0,
"city": "Beijing",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1776294712,
"score": 0,
"last_online": 1776369041,
"icon": null,
"name": "百通/吞噬/山海经/群895340824-水晶-6513",
"connect": "106.12.56.40:11164",
"request": "106.12.56.40:21164",
"map": "TheIsIand",
"gamemode": "TestGameMode_C",
"version": "360.26",
"numplayers": 11,
"maxplayers": 188,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1766870261,
"last_update": 1776369041,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2024,
"language": "zh",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10772949");
$data = json_decode($json, true);
var_dump($data);