Texas 420 | No KOS | Noob Friendly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 221,
"fps_avg": 219,
"entities_count": 77462,
"world_seed": 975185612,
"world_size": 3750,
"steam_id": "90286604108691468",
"domain": null,
"id": 2823363,
"ip": "38.18.231.191",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Texas 420! This is a noob friendly, no KOS server. For the full set of rules and wipe calendar check out our discord/website.\r\n\r\nInformation:\r\n- Vanilla\r\n- Team size: Max 4\r\n- No KOS (Kill on Sight)\r\n- Low Decay\r\n- Be respectful\r\n- No slurs of any kind are allowed\r\n\r\nPvP Zones:\r\n- Abandoned Military Base\r\n- Airdrops\r\n- Airfield\r\n- Arctic Research Base\r\n- Attack Helicopter Crash Sites\r\n- Cargo Ship\r\n- Giant Excavator\r\n- Harbors\r\n- Launch Site\r\n- Locked Crates\r\n- Military Tunnels\r\n- Nuclear Missile Silo\r\n- Oil Rigs\r\n- Power Plant\r\n- Raids/Counter Raids\r\n- Satellite\r\n- Sewer Branch\r\n- Train Yard\r\n- Water Treatment\r\n- Underwater Labs\r\n- Radtown\r\n- Ferry Terminal\r\n- Dome/n-",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780214634,
"last_online": 1780607428,
"icon": null,
"name": "Texas 420 | No KOS | Noob Friendly",
"connect": "38.18.231.191:28080",
"request": "38.18.231.191:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 13,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1706995925,
"last_update": 1780607428,
"banned": false,
"wipe": 1780596669,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1124,
"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/2823363");
$data = json_decode($json, true);
var_dump($data);