API для BEER!|WIPED|6-1|Jets|Mechs|JumpPacks|UAVs|WMDs|SciFi|Exile|PVE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286492327472140,
"domain": null,
"id": 10924630,
"ip": "64.20.54.221",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780309456,
"last_online": 1780345245,
"icon": null,
"name": "BEER!|WIPED|6-1|Jets|Mechs|JumpPacks|UAVs|WMDs|SciFi|Exile|PVE",
"connect": "64.20.54.221:2302",
"request": "64.20.54.221:2303",
"map": "Altis",
"gamemode": "Mercenary Exile",
"version": "2.20.152984",
"numplayers": 3,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1768478042,
"last_update": 1780345245,
"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": 229,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10924630");
$data = json_decode($json, true);
var_dump($data);