Champs 2X NA [Bounty|BetterLoot|Clans] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 201,
"fps_avg": 216,
"entities_count": 70808,
"world_seed": 282862727,
"world_size": 3500,
"steam_id": "90286459926000645",
"domain": null,
"id": 11677332,
"ip": "15.235.23.17",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Montreal",
"description": "![Champs 2X NA [Bounty|BetterLoot|Clans]](https://cdn.discordapp.com/attachments/1463694678300954696/1494797383467405333/0F1F77B3-4050-4C6A-8E82-D21E474C4B23.jpg?ex=6a13600cserver.headerimage)\nMade and managed by Champ servers \r\n join our discord now https://discord.gg/RSYqfJzfgr\r\nVip que skip and kits can be bought at \r\n https://champs-rust-webshop.tebex.io/\r\nany issues please",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780216203,
"last_online": 1780568434,
"icon": null,
"name": "Champs 2X NA [Bounty|BetterLoot|Clans]",
"connect": "15.235.23.17:28015",
"request": "15.235.23.17:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780216203,
"last_update": 1780568434,
"banned": false,
"wipe": 1780269421,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5820,
"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/11677332");
$data = json_decode($json, true);
var_dump($data);