API для +Marbleiron | X15 | TRADER | HELI | CARS | BUNKERS | Twitch
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11610824,
"ip": "185.254.67.192",
"port": 20447,
"query": 13225,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780575221,
"last_online": 1779988812,
"icon": null,
"name": "+Marbleiron | X15 | TRADER | HELI | CARS | BUNKERS | Twitch",
"connect": "185.254.67.192:20447",
"request": "185.254.67.192:13225",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 255,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915660,
"last_update": 1780575221,
"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": 11865,
"language": "de",
"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/11610824");
$data = json_decode($json, true);
var_dump($data);