DayZ
API для [GER] www.Friendly-Survivors.de Cluster Chiemsee PVE Schwer
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4870762json
{
"response": {
"steam_id": "90285169622977561",
"domain": null,
"id": 4870762,
"ip": "46.4.23.220",
"port": 2502,
"query": 27018,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775663534,
"score": 0,
"last_online": 1777570355,
"icon": null,
"name": "[GER] www.Friendly-Survivors.de Cluster Chiemsee PVE Schwer",
"connect": "46.4.23.220:2502",
"request": "46.4.23.220:27018",
"map": "chiemsee",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1719237661,
"last_update": 1777570355,
"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": 2054,
"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/4870762");
$data = json_decode($json, true);
var_dump($data);