API для [LL] test TEST
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790725265,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "94.26.0.65:2302",
"country": "DE",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17467926,
"ip": "94.26.0.65",
"language": "de",
"last_update": 1790867028,
"map": "NHChernobyl",
"maxplayers": 10,
"name": "[LL] test TEST",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2302,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2305,
"request": "94.26.0.65:2305",
"secured": true,
"status": false,
"steam_id": "90293811393772553",
"version": "1.29.163709",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Франкфурт-на-Майне",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1790867028,
"last_online": 1790836384,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 28128,
"wipe_period": null,
"os": "w",
"time": "10:59",
"queue": 0,
"region": -1,
"product": "dayz",
"gametype": "external,privHive,shardABC123,lqs0,etm1.000000,entm1.000000,allowedFilePatching,mod,10:59",
"dedicated": true,
"dlc_enabled": false,
"first_person": false,
"day_acceleration": 1,
"night_acceleration": 1
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17467926");
$data = json_decode($json, true);
var_dump($data);