Rustmimi-日本 Solo 06/05(1人)-pvp-(JP|KR|TW|SEA) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 76,
"fps_avg": 74,
"entities_count": 142336,
"world_seed": 909169148,
"world_size": 4500,
"steam_id": "90286728168913930",
"domain": null,
"id": 11095698,
"ip": "163.44.138.228",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Chiyoda City",
"description": "\nRustmimi-日本 Solo-pvp(1人)-(JP|KR|TW|SEA)-Rustmimi\r\nマップサイズ4500\r\n次回マップワイプ:6月12日(金)予定\r\nBPワイプ:RUST強制BPワイプまで永遠なし予定\r\nルール:左下のWebsiteリンク → Discordで確認\r\n----\r\n Rustmimi-japan-solo-pvp-06/05(JP|KR|TW|SEA) \r\nMap Size: 4500\r\nNext Map:june. 12th (Fri)/ BP Wipe:No BP wipes unless forced by Facepunch.\r\nRules & server info: check Discord via the Website link (bottom-left)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598666,
"last_online": 1780897827,
"icon": null,
"name": "Rustmimi-日本 Solo 06/05(1人)-pvp-(JP|KR|TW|SEA)",
"connect": "163.44.138.228:28015",
"request": "163.44.138.228:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 6,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1770028158,
"last_update": 1780897827,
"banned": false,
"wipe": 1780598684,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1453,
"language": "ja",
"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/11095698");
$data = json_decode($json, true);
var_dump($data);