Garry's Mod
API для [GER] SCP-RP [Serious RP | 3.0.4] by ★ MG ★
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11490145json
{
"response": {
"steam_id": 85568392923361460,
"domain": null,
"id": 11490145,
"ip": "45.157.232.22",
"port": 27030,
"query": 27030,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1777143133,
"score": 0,
"last_online": 1777410617,
"icon": null,
"name": "[GER] SCP-RP [Serious RP | 3.0.4] by ★ MG ★",
"connect": "45.157.232.22:27030",
"request": "45.157.232.22:27030",
"map": "rp_mg_site27",
"gamemode": "SCP-RP",
"version": "2025.03.26",
"numplayers": 53,
"maxplayers": 110,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 78,
"add_date": 1777143133,
"last_update": 1777410617,
"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": 56,
"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.ru/servers/11490145");
$data = json_decode($json, true);
var_dump($data);