API для Крутые перцы 2017
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794404514,
"app": {
"id": 30,
"name": "Garry's Mod",
"steam_id": 4000,
"url": "garrys-mod"
},
"color": 0,
"connect": "84.32.190.196:27016",
"country": "NL",
"domain": null,
"game": 4000,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19995534,
"ip": "84.32.190.196",
"language": "nl",
"last_update": 1794629598,
"map": "rp_bangclaw_gefestrp",
"maxplayers": 128,
"name": "Крутые перцы 2017",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27016,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "84.32.190.196:27016",
"secured": true,
"status": false,
"steam_id": "90297274196531209",
"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": 1794629598,
"last_online": 1794407588,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 21246,
"wipe_period": null,
"os": "w",
"region": 255,
"product": "garrysmod",
"gametype": "gm:darkrp loc:ru ver:260916",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19995534");
$data = json_decode($json, true);
var_dump($data);