API для WILD EAST
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794665195,
"app": {
"id": 54695,
"name": "DayZ Experimental",
"steam_id": 1024020,
"url": "dayz-experimental"
},
"color": 0,
"connect": "94.110.230.141:2326",
"country": "BE",
"domain": null,
"game": 1024020,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20112637,
"ip": "94.110.230.141",
"language": "nl",
"last_update": 1794671198,
"map": "chernarusplus",
"maxplayers": 60,
"name": "WILD EAST",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2326,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27018,
"request": "94.110.230.141:27018",
"secured": true,
"status": false,
"steam_id": "90297459494692884",
"version": "1.30.164289",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Zonhoven",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794671198,
"last_online": 1794665195,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 239,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "dayz",
"gametype": "battleye,no3rd,external,privHive,shard123ABC,lqs0,etm12.000000,entm1.000000,mod,15:26",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20112637");
$data = json_decode($json, true);
var_dump($data);