API для [FR] Day'Z Life | PvP | AI | QUEST | ZONE PVP | CHILL & FUN
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11733651,
"ip": "89.35.130.95",
"port": 30980,
"query": 24292,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780470417,
"last_online": 1780517424,
"icon": null,
"name": "[FR] Day'Z Life | PvP | AI | QUEST | ZONE PVP | CHILL & FUN",
"connect": "89.35.130.95:30980",
"request": "89.35.130.95:24292",
"map": "enoch",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 85,
"maxplayers": 127,
"bots": 85,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1780411337,
"last_update": 1780517424,
"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": 3159,
"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/11733651");
$data = json_decode($json, true);
var_dump($data);