API для [EU] THE LAST DAWN |PvePvp|Weekend Raid|Trader|Terje|Quests
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286034545761301",
"domain": null,
"id": 11602301,
"ip": "185.229.236.22",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Reggio Calabria",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779359267,
"last_online": 1779385250,
"icon": null,
"name": "[EU] THE LAST DAWN |PvePvp|Weekend Raid|Trader|Terje|Quests",
"connect": "185.229.236.22:2402",
"request": "185.229.236.22:2403",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "IT",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1779359267,
"last_update": 1779385250,
"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": 3930,
"language": "it",
"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/11602301");
$data = json_decode($json, true);
var_dump($data);