API для SABA
JSON для программ, сайтов и прочего
text
json
{
"response": {
"id": 13772958,
"np": 1,
"key": "7fccc881f1f585467e5040a6286973cf7b8c3daf",
"type": 2,
"is_as": 0,
"status": true,
"ds_type": 2,
"has_pwd": 1,
"r_hukou": 0,
"category": 1,
"is_as_bm": 0,
"map_name": "LargeTerrain_Central_Main",
"pvp_type": 1,
"host_data": "",
"major_ver": 1,
"maxplayer": 16,
"minor_ver": 128,
"steamaddr": "",
"a_mod_list": "",
"district_id": 9999,
"r_playernum": 16,
"trueplayers": 0,
"pct_playernum": 0,
"master_version": "1787776970",
"master_category": 1,
"master_time_stamp": "2026-08-27 04:42:50",
"auto_get_ip_by_server": true,
"master_format_version": 2,
"steam_id": "90291610054759426",
"domain": null,
"ip": "5.62.100.237",
"port": 17110,
"query": 17111,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1371580,
"owner": null,
"boosts": 1,
"last_offline": 1787641768,
"last_online": 1787776970,
"icon": null,
"name": "SABA",
"connect": "5.62.100.237:17110",
"request": "5.62.100.237:17111",
"map": "LargeTerrain_Central_Main",
"gamemode": "SG",
"version": "1.128",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"votes": 0,
"points": 30,
"add_date": 1786945519,
"last_update": 1787776970,
"ban_reason": null,
"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": 152,
"language": "de",
"parked": false,
"app": {
"id": 1625868,
"steam_id": 1371580,
"name": "Myth of Empires",
"url": "myth-of-empires"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13772958");
$data = json_decode($json, true);
var_dump($data);