API для SHELTER TESTE DM bancada dmbancada.chernarusplus
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794425919,
"app": {
"id": 54695,
"name": "DayZ Experimental",
"steam_id": 1024020,
"url": "dayz-experimental"
},
"color": 0,
"connect": "151.244.40.114:11002",
"country": "BR",
"domain": null,
"game": 1024020,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20008892,
"ip": "151.244.40.114",
"language": "pt",
"last_update": 1794671195,
"map": "chernarusplus",
"maxplayers": 30,
"name": "SHELTER TESTE DM bancada dmbancada.chernarusplus",
"numplayers": 0,
"official": null,
"points": 0,
"port": 11002,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27341,
"request": "151.244.40.114:27341",
"secured": true,
"status": false,
"steam_id": "90297416041429007",
"version": "1.30.164289",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Осаску",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794671195,
"last_online": 1794603967,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 211,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "dayz",
"gametype": "battleye,external,privHive,shardABC123,lqs0,etm0.100000,mod,11:00",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20008892");
$data = json_decode($json, true);
var_dump($data);