API для [LIV TEST] The Protocol
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791497971,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "194.58.57.61:13071",
"country": "NL",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17976323,
"ip": "194.58.57.61",
"language": "nl",
"last_update": 1791609702,
"map": "sakhal",
"maxplayers": 127,
"name": "[LIV TEST] The Protocol",
"numplayers": 0,
"official": null,
"points": 71,
"port": 13071,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 35511,
"request": "194.58.57.61:35511",
"secured": true,
"status": true,
"steam_id": "90294476673755149",
"version": "1.29.163709",
"votes": 0,
"wipe": null,
"ban_reason": "server.ban_reasons.fake_server_data",
"banned": true,
"boosts": 1,
"bots": 0,
"city": "Амстердам",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": null,
"last_online": 1791609702,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": null,
"wipe_period": null,
"os": "w",
"time": "09:42",
"queue": 0,
"region": -1,
"product": "dayz",
"gametype": "battleye,external,privHive,shard123ABC,lqs0,etm5.000000,entm9.000000,mod,isDLC,09:42",
"dedicated": true,
"dlc_enabled": true,
"first_person": false,
"day_acceleration": 5,
"night_acceleration": 9
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17976323");
$data = json_decode($json, true);
var_dump($data);