API для RustState Reborn | PvE RP • Build Your Life • Monthly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789928674,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "143.20.129.174:25568",
"country": "ES",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16810987,
"ip": "143.20.129.174",
"language": "es",
"last_update": 1790377371,
"map": "Custom Map",
"maxplayers": 20,
"name": "RustState Reborn | PvE RP • Build Your Life • Monthly",
"numplayers": 2,
"official": null,
"points": 64,
"port": 25568,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 25583,
"request": "143.20.129.174:25583",
"secured": false,
"status": true,
"steam_id": "90293451262182402",
"version": "2633",
"votes": 0,
"wipe": 1789761052,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Мадрид",
"description": "\nWelcome to RustState — a PvE/RP world built around progression, economy and events.\r\n\r\nLevel up, complete Work Contracts, build your wealth, manage your balance and take the risk of a Bank Robbery.\r\n\r\nExplore a dynamic world with custom monuments, unique loot and changing events.\r\n\r\nMining Systems provide passive income, while Contracts and Events keep you active in the world.\r\n\r\nMonthly Map & BP Wipes — your bank balance stays.\r\n\r\nThe world resets. Your fortune doesn't.\r\n\r\nCreate your life. Build your wealth. Make your mark.",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1790374512,
"last_online": 1790377371,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1209,
"wipe_period": null,
"fps": 60,
"gmn": "rust",
"url": "https://shre.ink/RustStateReborn",
"hash": "f506ca7",
"build": "165217",
"gc_cl": "113",
"gc_mb": "2753",
"fps_avg": 58,
"ram_sys": "0",
"map_kind": "custom",
"map_name": "1ussr5",
"map_seed": 1337,
"map_size": 5500,
"logoimage": "1",
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"map_revision": null,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/03b4a6cd86549183f83c439c0c70bebbbfac7d4a914392fdf131bc115b7abe6f/1ussr5.5500.1786119967006.288_03b4a6cd86549183f83c439c0c70bebb.jpg",
"entities_count": 77479,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16810987");
$data = json_decode($json, true);
var_dump($data);