API для [US] RUST ROOM BUILD 2.0 by GJ | CREATIVE & SANDBOX
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1731158605,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "161.129.67.78:28015",
"country": "US",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 6572246,
"ip": "161.129.67.78",
"language": "en",
"last_update": 1790377301,
"map": "Custom Map",
"maxplayers": 360,
"name": "[US] RUST ROOM BUILD 2.0 by GJ | CREATIVE & SANDBOX",
"numplayers": 63,
"official": null,
"points": 71,
"port": 28015,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28017,
"request": "161.129.67.78:28017",
"secured": true,
"status": true,
"steam_id": "90293376838886402",
"version": "2633",
"votes": 0,
"wipe": 1790301629,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Englewood Cliffs",
"description": "![[US] RUST ROOM BUILD 2.0 by GJ | CREATIVE & SANDBOX](https://i.ibb.co/xt1xWSY2/US.png)\nRUST ROOM BUILD is a building server created and fine-tuned by builders for builders. \r\nWe offer:\r\n - complete absence of lags\r\n - low ping\r\n - the entire server in English\r\n - a variety of useful plugins for building\r\n - symmetry in structures\r\n - a convenient base browser\r\n - a flexible system for collaborative building",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1790301612,
"last_online": 1790377301,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 653,
"wipe_period": null,
"fps": 120,
"gmn": "rust",
"url": "https://rustroombuild.com/",
"hash": "il2cpp",
"build": "162929",
"gc_cl": "10000",
"gc_mb": "10000",
"fps_avg": 120,
"ram_sys": "10",
"map_name": "Custom Map",
"map_seed": 1111,
"map_size": 4000,
"logoimage": "",
"listentype": "d",
"environment": "w",
"favendpoint": "build.rustroom.gg",
"a2s_protocol": 17,
"queueplayers": 0,
"map_image_url": "",
"entities_count": 10000,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6572246");
$data = json_decode($json, true);
var_dump($data);