API для Eden
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90290791000995854",
"domain": null,
"id": 13700610,
"ip": "77.77.245.171",
"port": 2302,
"query": 2303,
"project_id": null,
"color": 0,
"city": "Sarajevo",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1786976627,
"last_online": 1786665888,
"icon": null,
"name": "Eden",
"connect": "77.77.245.171:2302",
"request": "77.77.245.171:2303",
"map": "Kunduz",
"gamemode": "Antistasi Ultimate - Kunduz",
"version": "2.22.153995",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "BA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1786651415,
"last_update": 1786976627,
"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": 10505,
"language": "bs",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13700610");
$data = json_decode($json, true);
var_dump($data);