API для [EU] AdminRecruit avalon group
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794550295,
"app": {
"id": 24,
"name": "Team Fortress 2",
"steam_id": 440,
"url": "team-fortress-2"
},
"color": 0,
"connect": "54.37.178.201:51523",
"country": "FR",
"domain": null,
"game": 440,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20067268,
"ip": "54.37.178.201",
"language": "fr",
"last_update": 1794770030,
"map": "cp_coldfront",
"maxplayers": 64,
"name": "[EU] AdminRecruit avalon group",
"numplayers": 0,
"official": null,
"points": 0,
"port": 51523,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 51523,
"request": "54.37.178.201:51523",
"secured": true,
"status": false,
"steam_id": "90297379083782160",
"version": "11191711",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Париж",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794770030,
"last_online": 1794556409,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 12696,
"wipe_period": null,
"os": "l",
"region": 3,
"product": "tf",
"gametype": "cp,bots,friendlyfire,noblock,premium,registered",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20067268");
$data = json_decode($json, true);
var_dump($data);