DayZ
API для MMP-DayZHolic® (-Sakhal-) CZ/SK [PvP] Vanila++
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6278894json
{
"response": {
"steam_id": "90284586128917521",
"domain": null,
"id": 6278894,
"ip": "77.48.47.117",
"port": 50810,
"query": 50815,
"color": 0,
"city": "Střelice",
"description": ".............Vanila++ Expansion AI- MapLink & Trader & Missions & Events.......",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776431604,
"score": 0,
"last_online": 1776795025,
"icon": null,
"name": "MMP-DayZHolic® (-Sakhal-) CZ/SK [PvP] Vanila++",
"connect": "77.48.47.117:50810",
"request": "77.48.47.117:50815",
"map": "sakhal",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1729461786,
"last_update": 1776795025,
"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": 1078,
"language": "cs",
"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/6278894");
$data = json_decode($json, true);
var_dump($data);