API для TERRA Deerisle PVE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286576164938769",
"domain": null,
"id": 4262686,
"ip": "185.207.214.155",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780311854,
"last_online": 1780537244,
"icon": null,
"name": "TERRA Deerisle PVE",
"connect": "185.207.214.155:2302",
"request": "185.207.214.155:2303",
"map": "deerisle",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 8,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1715851761,
"last_update": 1780537244,
"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": 4501,
"language": "ru",
"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/4262686");
$data = json_decode($json, true);
var_dump($data);