[US]FANAJ 4X PvPvE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 41,
"fps_avg": 42,
"entities_count": 254945,
"world_seed": 99999999,
"world_size": 4800,
"steam_id": "90286602752667668",
"domain": null,
"id": 11189322,
"ip": "40.160.34.174",
"port": 1028,
"query": 1031,
"color": 0,
"city": "Reston",
"description": "![[US]FANAJ 4X PvPvE](https://www.dropbox.com/scl/fi/3smo80b81qmawl9c0u5fu/Gworks_Rust_the_video_game_with_the_words__FANAJ__at_the_top_341867dd-9666-49fe-a0a4-5c1d79c4c941.jpg?rlkey=hx50mcqwgp1eeytt93aew3p8a&st=o97cpshp&dl=1)\nThis server is brand new and still being worked on please give us time!\r\n * Also join the discord!\r\n * Here are some of our rules:\r\n * Don't troll\r\n * Don't argue in chat over petty bs, just make a ticket in discord\r\n * Don't build mega bases i dont want to enforce a foundation limit but i will if it gets excessive, so please only build what you need!\r\n *",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780166615,
"last_online": 1780608636,
"icon": null,
"name": "[US]FANAJ 4X PvPvE",
"connect": "40.160.34.174:1028",
"request": "40.160.34.174:1031",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699042,
"last_update": 1780608636,
"banned": false,
"wipe": 1780166885,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3479,
"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/11189322");
$data = json_decode($json, true);
var_dump($data);