API для [EU] Ryzen Rust | LINUX 10x loot (MyMini|Kits|HomeTP)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 98827,
"world_seed": 8532762,
"world_size": 4000,
"steam_id": "90286840657702913",
"domain": null,
"id": 11759356,
"ip": "92.118.16.90",
"port": 28025,
"query": 28026,
"project_id": null,
"color": 0,
"city": "London",
"description": "![[EU] Ryzen Rust | LINUX 10x loot (MyMini|Kits|HomeTP)](https://files.catbox.moe/b5znkv.png)\nWelcome to Ryzen Rust!\nNO PROFILE BANS, Account must not be new to play. Due to no EAC, this must be regulated.\n\n1. No cheating, talking about cheating, or calling out cheaters in chat!\n2. No toxicity.\n3. No racist names, pictures, or otherwise.\n\nUse /info ingame for more information! Enjoy.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780931710,
"last_online": 1781511027,
"icon": null,
"name": "[EU] Ryzen Rust | LINUX 10x loot (MyMini|Kits|HomeTP)",
"connect": "92.118.16.90:28025",
"request": "92.118.16.90:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931710,
"last_update": 1781511027,
"banned": false,
"wipe": 1780769786,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5963,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11759356");
$data = json_decode($json, true);
var_dump($data);