Garry's Mod
[BeztRP.ru] ⚽ 🏈 Русский Extreme Football Throwdown 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9940639json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9940639,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Perm",
"description": null,
"game": 4000,
"owner": 129431,
"boosts": 1,
"last_offline": 1774677106,
"score": 0,
"last_online": 1773799215,
"icon": null,
"name": "[BeztRP.ru] ⚽ 🏈 Русский Extreme Football Throwdown",
"connect": null,
"request": null,
"map": "eft_pidaras_v3",
"gamemode": "Extreme Football Throwdown",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1754190187,
"last_update": 1774677106,
"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": 3711,
"language": "ru",
"parked": true,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "Pizhik",
"avatar": "no.jpg",
"last_online": 1754190189
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9940639");
$data = json_decode($json, true);
var_dump($data);