Garry's Mod
API для MetroNexus Metrostroi | NoRanK
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489246json
{
"response": {
"steam_id": "85568392936213399",
"domain": null,
"id": 11489246,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 4000,
"owner": 182244,
"boosts": 1,
"last_offline": 1777701150,
"score": 5,
"last_online": 1776781818,
"icon": null,
"name": "MetroNexus Metrostroi | NoRanK",
"connect": null,
"request": null,
"map": "gm_jar_pll_remastered_v13",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1776202912,
"last_update": 1777701150,
"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": 3460,
"language": "ru",
"parked": true,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "dryndin2005",
"avatar": "89cd3ba8-ad7a-432f-9b2e-6951a16d034f.jpg",
"last_online": 1776360782
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489246");
$data = json_decode($json, true);
var_dump($data);