Valorian at War | Phase 2 | SeriousRP | [0/50] | SUCHEN EL 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "85568392924580881",
"domain": null,
"id": 2468328,
"ip": "78.46.176.46",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1779998024,
"last_online": 1780587134,
"icon": null,
"name": "Valorian at War | Phase 2 | SeriousRP | [0/50] | SUCHEN EL",
"connect": "78.46.176.46:27015",
"request": "78.46.176.46:27015",
"map": "rp_venator_vaw_v3",
"gamemode": "starwarsrp",
"version": "2026.04.29",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1704574346,
"last_update": 1780587134,
"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": 1191,
"language": "de",
"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/2468328");
$data = json_decode($json, true);
var_dump($data);