[PvE][JP]TKG Server[24H] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286515229645837",
"domain": null,
"id": 11726662,
"ip": "160.251.232.195",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Chiyoda City",
"description": "welcome TKG server wipe 2026 4/1 Discord https://discord.gg/9B4TN4UtG2",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780402454,
"last_online": 1780405228,
"icon": null,
"name": "[PvE][JP]TKG Server[24H]",
"connect": "160.251.232.195:16261",
"request": "160.251.232.195:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.19",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780388702,
"last_update": 1780405228,
"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": 3430,
"language": "ja",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11726662");
$data = json_decode($json, true);
var_dump($data);