API для Retaker's Pill Pack Hide & Seek
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787797332,
"app": {
"id": 30,
"name": "Garry's Mod",
"steam_id": 4000,
"url": "garrys-mod"
},
"color": 0,
"connect": null,
"country": "US",
"domain": null,
"game": 4000,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14126165,
"ip": null,
"language": "en",
"last_update": 1789019442,
"map": "gm_mallparking",
"maxplayers": 8,
"name": "Retaker's Pill Pack Hide & Seek",
"numplayers": 0,
"official": null,
"points": 0,
"port": null,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": true,
"status": false,
"steam_id": "90291886267726860",
"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": 1789019442,
"last_online": 1788143369,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 6542,
"wipe_period": null,
"os": "w",
"region": 255,
"product": "garrysmod",
"gametype": "gm:sandbox gmc:other ver:260508",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14126165");
$data = json_decode($json, true);
var_dump($data);