API для Builder
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785686576,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "185.101.32.246:28215",
"country": "NO",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13231349,
"ip": "185.101.32.246",
"language": "no",
"last_update": 1790394070,
"map": "Procedural Map",
"maxplayers": 100,
"name": "Builder",
"numplayers": 0,
"official": null,
"points": 60,
"port": 28215,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28216,
"request": "185.101.32.246:28216",
"secured": true,
"status": true,
"steam_id": "90293106700960783",
"version": "2632",
"votes": 0,
"wipe": 1788092080,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Kjenn",
"description": "No server description has been provided.",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1789925713,
"last_online": 1790394070,
"list_hidden": false,
"map_url": "procedural_map_4500_seed_123456_r287",
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 6600,
"wipe_period": null,
"fps": 30,
"gmn": "rust",
"url": "",
"hash": "a58b399a",
"build": "162434",
"gc_cl": "230",
"gc_mb": "3747",
"fps_avg": 30,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 123456,
"map_size": 4500,
"logoimage": "",
"listentype": "d",
"environment": "w",
"headerimage": "",
"a2s_protocol": 17,
"map_revision": 287,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/1aa16f6321a4a3b3bcae6103da22478b6653901c151be00dd2b22c7b3a4b91be/proceduralmap.4500.1788092005784.287_1aa16f6321a4a3b3bcae6103da22478b.jpg",
"entities_count": 119828,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13231349");
$data = json_decode($json, true);
var_dump($data);