DayZ
API для DeathMatch Vanilla Essence |HUNTER Polska|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/874811json
{
"response": {
"steam_id": "90284736688939024",
"domain": null,
"id": 874811,
"ip": "85.222.107.54",
"port": 2402,
"query": 27017,
"color": 0,
"city": "Warsaw",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776465800,
"score": null,
"last_online": 1776776429,
"icon": null,
"name": "DeathMatch Vanilla Essence |HUNTER Polska|",
"connect": "85.222.107.54:2402",
"request": "85.222.107.54:27017",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 9,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1684693893,
"last_update": 1776776429,
"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": 1296,
"language": "pl",
"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/874811");
$data = json_decode($json, true);
var_dump($data);