API для (BR) OPPRESSIVE TERRITORY 4FuN!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "alltalk,fastdl,friendlyfire,HLstatsX:CE,noblock,premium",
"os": "l",
"product": "hl2mp",
"region": 3,
"steam_id": "90290075660843024",
"domain": null,
"id": 13212649,
"ip": "54.37.178.201",
"port": 38580,
"query": 38580,
"project_id": null,
"color": 0,
"city": "Lisbon",
"description": null,
"game": 320,
"owner": null,
"boosts": 1,
"last_offline": 1785725593,
"last_online": 1785663600,
"icon": null,
"name": "(BR) OPPRESSIVE TERRITORY 4FuN!",
"connect": "54.37.178.201:38580",
"request": "54.37.178.201:38580",
"map": "dm_powerhouse",
"gamemode": null,
"version": "9540945",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": null,
"country": "PT",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1785657886,
"last_update": 1785725593,
"ban_reason": null,
"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": 1216,
"language": "pt",
"parked": false,
"app": {
"id": 1,
"steam_id": 320,
"name": "Half-Life 2: Deathmatch",
"url": "half-life-2-deathmatch"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13212649");
$data = json_decode($json, true);
var_dump($data);