! The Alamo Texas Monthly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 79,
"fps_avg": 79,
"entities_count": 117455,
"world_seed": 206131560,
"world_size": 4500,
"steam_id": "90286604756507664",
"domain": null,
"id": 686541,
"ip": "23.94.102.82",
"port": 28036,
"query": 28039,
"color": 0,
"city": "Dallas",
"description": "\nThe Alamo Texas Monthly a Volten Gaming Server \r\n Server specific rules and information. \r\n Monthly map \r\n Blueprint Facepunch schedule \r\n Active staff members. \r\n Online since April 2022. \r\n Volten Gaming rules are available on our website.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780624825,
"icon": null,
"name": "! The Alamo Texas Monthly",
"connect": "23.94.102.82:28036",
"request": "23.94.102.82:28039",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 9,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1670760398,
"last_update": 1780624825,
"banned": false,
"wipe": 1780598077,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1164,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/686541");
$data = json_decode($json, true);
var_dump($data);