API для [RU] «LE» Пчёлки на Лотосе [PVE/х3/WOV/600lvl] UE5
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792660411,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "185.207.214.166:17077",
"country": "RU",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18812628,
"ip": "185.207.214.166",
"language": "ru",
"last_update": 1794674150,
"map": "ConanSandbox",
"maxplayers": 35,
"name": "[RU] «LE» Пчёлки на Лотосе [PVE/х3/WOV/600lvl] UE5",
"numplayers": 6,
"official": null,
"points": 43,
"port": 17077,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 17079,
"request": "185.207.214.166:17079",
"secured": false,
"status": true,
"steam_id": null,
"version": null,
"votes": 1,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": null,
"disabled_modules": [],
"gamemode": "Conan Exiles",
"hidden": false,
"last_offline": 1794416663,
"last_online": 1794674150,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 152,
"wipe_period": null,
"listentype": "d",
"environment": "w",
"a2s_protocol": 2
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18812628");
$data = json_decode($json, true);
var_dump($data);