Garry's Mod
API для 🌎 GMod Network | TTT #1 | Inventory | No Download | +300% XP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2824804json
{
"response": {
"steam_id": "85568392923911166",
"domain": null,
"id": 2824804,
"ip": "45.62.160.36",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Chicago",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1771593098,
"score": null,
"last_online": 1776801037,
"icon": null,
"name": "🌎 GMod Network | TTT #1 | Inventory | No Download | +300% XP",
"connect": "45.62.160.36:27015",
"request": "45.62.160.36:27015",
"map": "ttt_community_pool_revamped",
"gamemode": "Trouble in Terrorist Town",
"version": "2025.03.26",
"numplayers": 10,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1706996890,
"last_update": 1776801037,
"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": 199,
"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/2824804");
$data = json_decode($json, true);
var_dump($data);