Garry's Mod
API для Metrostroi Europe | ENG Server | 24/7 | Ranked
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10746804json
{
"response": {
"steam_id": "85568392935894825",
"domain": null,
"id": 10746804,
"ip": "194.69.160.10",
"port": 27041,
"query": 27041,
"color": 0,
"city": "City of London",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1772365896,
"score": 0,
"last_online": 1776824483,
"icon": null,
"name": "Metrostroi Europe | ENG Server | 24/7 | Ranked",
"connect": "194.69.160.10:27041",
"request": "194.69.160.10:27041",
"map": "gm_metro_nekrasovskaya_line_v6",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766251974,
"last_update": 1776824483,
"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": 1946,
"language": "en",
"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/10746804");
$data = json_decode($json, true);
var_dump($data);