DayZ
API для [RU|EU]|Frozen Echo #1 | CHERNO |PVP | X10LOOT
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10694930json
{
"response": {
"steam_id": "90285134146765847",
"domain": null,
"id": 10694930,
"ip": "185.207.214.129",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 150926,
"boosts": 1,
"last_offline": 1777226604,
"score": 5,
"last_online": 1777495815,
"icon": null,
"name": "[RU|EU]|Frozen Echo #1 | CHERNO |PVP | X10LOOT",
"connect": "185.207.214.129:2302",
"request": "185.207.214.129:2305",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 33,
"maxplayers": 90,
"bots": 1,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 84,
"add_date": 1765103958,
"last_update": 1777495815,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 208,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "Expert_Service",
"avatar": "cd535ce9-cd14-4a57-b857-f27366808748.png",
"last_online": 1777451897
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10694930");
$data = json_decode($json, true);
var_dump($data);