[FR] Backrooms RP France | Level 0 • M.E.G. • Survie 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "85568392924895534",
"domain": null,
"id": 11791366,
"ip": "103.102.135.148",
"port": 25507,
"query": 25507,
"project_id": null,
"color": 0,
"city": "Paris",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1781394841,
"last_online": 1781460047,
"icon": null,
"name": "[FR] Backrooms RP France | Level 0 • M.E.G. • Survie",
"connect": "103.102.135.148:25507",
"request": "103.102.135.148:25507",
"map": "gm_br_complex",
"gamemode": "DarkRP",
"version": "2026.04.29",
"numplayers": 11,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1781377272,
"last_update": 1781460047,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 523,
"language": "fr",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11791366");
$data = json_decode($json, true);
var_dump($data);