Oxidation Low Pop US 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 88,
"fps_avg": 91,
"entities_count": 75408,
"world_seed": 2049033985,
"world_size": 3500,
"steam_id": "90286480971495427",
"domain": null,
"id": 11596751,
"ip": "14.1.30.100",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "Low Pop Vanilla+ | 100 Players | 3500 Map | 2x Gather | Boosted Loot | Long Days - Short Nights | Monthly Wipes | Active Admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779466419,
"last_online": 1780552829,
"icon": null,
"name": "Oxidation Low Pop US",
"connect": "14.1.30.100:28015",
"request": "14.1.30.100:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779358598,
"last_update": 1780552829,
"banned": false,
"wipe": 1778959154,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5279,
"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/11596751");
$data = json_decode($json, true);
var_dump($data);