DayZ
API для WCK | Deer Isle Vanilla | discord.wckclan.org
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1408674json
{
"response": {
"steam_id": "90284357926450182",
"domain": null,
"id": 1408674,
"ip": "72.193.112.207",
"port": 3302,
"query": 27026,
"color": 0,
"city": "Las Vegas",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775650326,
"score": null,
"last_online": 1776210661,
"icon": null,
"name": "WCK | Deer Isle Vanilla | discord.wckclan.org",
"connect": "72.193.112.207:3302",
"request": "72.193.112.207:27026",
"map": "deerisle",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1696086822,
"last_update": 1776210661,
"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": 2188,
"language": "en",
"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/1408674");
$data = json_decode($json, true);
var_dump($data);