Unknown package
API для MDZGA Vanilla+ PVE | PVP Inland | Trader Sitnik
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11429727json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11429727,
"ip": "134.255.214.161",
"port": 46003,
"query": 14003,
"color": 0,
"city": "Clifton",
"description": null,
"game": 0,
"owner": null,
"boosts": 1,
"last_offline": 1776664400,
"score": 0,
"last_online": 1776817336,
"icon": null,
"name": "MDZGA Vanilla+ PVE | PVP Inland | Trader Sitnik",
"connect": "134.255.214.161:46003",
"request": "134.255.214.161:14003",
"map": "dayzOffline.enoch",
"gamemode": "DayZ",
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774675076,
"last_update": 1776817336,
"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": 3969,
"language": "en",
"parked": false,
"app": {
"id": 119,
"steam_id": 0,
"name": "Unknown package",
"url": "unknown-package"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11429727");
$data = json_decode($json, true);
var_dump($data);