API для New Gmod Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789947226,
"app": {
"id": 30,
"name": "Garry's Mod",
"steam_id": 4000,
"url": "garrys-mod"
},
"color": 0,
"connect": "114.73.124.46:25565",
"country": "AU",
"domain": null,
"game": 4000,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16818339,
"ip": "114.73.124.46",
"language": "en",
"last_update": 1789974353,
"map": "gm_flatgrass",
"maxplayers": 32,
"name": "New Gmod Server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 25565,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 25565,
"request": "114.73.124.46:25565",
"secured": true,
"status": true,
"steam_id": "90293117508893706",
"version": "2026.04.29",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Орандж",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": null,
"last_online": 1789974353,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5313,
"wipe_period": null,
"os": "l",
"region": 255,
"product": "garrysmod",
"gametype": "gm:sandbox gmc:other ver:260917",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16818339");
$data = json_decode($json, true);
var_dump($data);