DayZ
API для NK-RobZ-DeerIsle 6.0 EXP-PVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10240454json
{
"response": {
"steam_id": "90284409662388247",
"domain": null,
"id": 10240454,
"ip": "178.63.53.168",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Falkenstein",
"description": "NightKins Test Server PVE",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776178916,
"score": 0,
"last_online": 1776265812,
"icon": null,
"name": "NK-RobZ-DeerIsle 6.0 EXP-PVE",
"connect": "178.63.53.168:2302",
"request": "178.63.53.168:2303",
"map": "deerisle",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 10,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 70,
"add_date": 1756889101,
"last_update": 1776265812,
"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": 741,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10240454");
$data = json_decode($json, true);
var_dump($data);