DayZ
API для DayZ Pure Vanilla | Mipko
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488221json
{
"response": {
"steam_id": "90284946854375436",
"domain": null,
"id": 11488221,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Strasbourg",
"description": "[{\"id\":\"oL-odvhneU\",\"type\":\"paragraph\",\"data\":{\"text\":\"Mipko – it’s pure vanilla, nothing else. Cap loot is disabled.\"}},{\"id\":\"bcz8e6wwRZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Mipko — это чистая ваниль, больше ничего. Ограничение лута отключено.\\n\\nБудьте здоровы | Be healthy \"}}]",
"game": 221100,
"owner": 185868,
"boosts": 1,
"last_offline": 1778046734,
"score": 0,
"last_online": 1777128615,
"icon": null,
"name": "DayZ Pure Vanilla | Mipko",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775411934,
"last_update": 1778046734,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3845,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "mipko",
"avatar": "95bdc41c-5cb3-4132-991d-38ac5526e0e1.jpg",
"last_online": 1775722447
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11488221");
$data = json_decode($json, true);
var_dump($data);