DayZ
API для DOWNBAD | EU2 | BITTERROOT | SOLO/DUO/TRIO |Discord.gg/downbadd
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5433769json
{
"response": {
"steam_id": "90284744554292246",
"domain": null,
"id": 5433769,
"ip": "64.40.9.90",
"port": 2302,
"query": 27016,
"color": 0,
"city": "London",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776422022,
"score": 0,
"last_online": 1776796212,
"icon": null,
"name": "DOWNBAD | EU2 | BITTERROOT | SOLO/DUO/TRIO |Discord.gg/downbadd",
"connect": "64.40.9.90:2302",
"request": "64.40.9.90:27016",
"map": "bitterroot",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 100,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1722601999,
"last_update": 1776796212,
"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": 547,
"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/5433769");
$data = json_decode($json, true);
var_dump($data);