API для WolfDenGaming UK - Loot x4/no door kick Z's/No Mechs/events
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791980111,
"app": {
"id": 11540,
"name": "SCUM",
"steam_id": 513710,
"url": "scum"
},
"color": 0,
"connect": "81.0.249.80:29902",
"country": "GB",
"domain": null,
"game": 513710,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18168790,
"ip": "81.0.249.80",
"language": "en",
"last_update": 1794681288,
"map": null,
"maxplayers": 20,
"name": "WolfDenGaming UK - Loot x4/no door kick Z's/No Mechs/events",
"numplayers": 0,
"official": false,
"points": 30,
"port": 29902,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 29902,
"request": "81.0.249.80:29902",
"secured": null,
"status": true,
"steam_id": null,
"version": "1.3.6.1.177547",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Портсмут",
"description": null,
"disabled_modules": [],
"gamemode": "community-hosted",
"hidden": false,
"last_offline": null,
"last_online": 1794681288,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 6590,
"wipe_period": null,
"type": 1,
"build": 177547,
"extraFlags": 0,
"statusFlags": 112,
"nameHeaderRaw": "b0582b010603",
"unknownStatusFlags": 112
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18168790");
$data = json_decode($json, true);
var_dump($data);