DayZ
API для SURVIVOR | YMG | DAYZ | CHERNO 3PP | PVP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5801206json
{
"response": {
"steam_id": "90284404240302085",
"domain": null,
"id": 5801206,
"ip": "46.138.244.77",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 126656,
"boosts": 1,
"last_offline": 1776033130,
"score": 5,
"last_online": 1776264609,
"icon": null,
"name": "SURVIVOR | YMG | DAYZ | CHERNO 3PP | PVP",
"connect": "46.138.244.77:2302",
"request": "46.138.244.77:2303",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 4,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 31,
"points": 110,
"add_date": 1725019340,
"last_update": 1776264609,
"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": 325,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "ymgdayz",
"avatar": "e542b9c1-5e67-4e15-b606-1fc2bc30341b.jpg",
"last_online": 1772318704
},
"mods": [
{
"id": 379,
"name": "VIP"
},
{
"id": 436,
"name": "Weapon Skins"
},
{
"id": 437,
"name": "Shop"
},
{
"id": 1615,
"name": "CF"
},
{
"id": 23,
"name": "Armor"
},
{
"id": 1653,
"name": "Code Lock"
},
{
"id": 344,
"name": "Skins (Shop)"
},
{
"id": 1614,
"name": "VPPAdminTools"
},
{
"id": 361,
"name": "SystemReport (Discord)"
},
{
"id": 645,
"name": "Convoy Reforged"
}
],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5801206");
$data = json_decode($json, true);
var_dump($data);