Arma 2: DayZ Mod
API для US434 2.0 Vanilla
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10796444json
{
"response": {
"steam_id": "90284827745308685",
"domain": null,
"id": 10796444,
"ip": "192.151.145.162",
"port": 2700,
"query": 2701,
"color": 0,
"city": "Kansas City",
"description": null,
"game": 224580,
"owner": null,
"boosts": 1,
"last_offline": 1775088691,
"score": 0,
"last_online": 1776894669,
"icon": null,
"name": "US434 2.0 Vanilla",
"connect": "192.151.145.162:2700",
"request": "192.151.145.162:2701",
"map": "chernarus",
"gamemode": "DayZMod",
"version": "1.64.144629",
"numplayers": 1,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766877205,
"last_update": 1776894669,
"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": 16,
"language": "en",
"parked": false,
"app": {
"id": 33381,
"steam_id": 224580,
"name": "Arma 2: DayZ Mod",
"url": "arma-2-dayz-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10796444");
$data = json_decode($json, true);
var_dump($data);