API для Rust Solo Only / Lightly Modded / UK & Europe
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 88,
"fps_avg": 84,
"entities_count": 68194,
"world_seed": 0,
"world_size": 3500,
"steam_id": "90286603963545602",
"domain": null,
"id": 444468,
"ip": "51.89.222.250",
"port": 28056,
"query": 28055,
"color": 0,
"city": "London",
"description": "\nThis easy going server is perfect for SOLO ONLY play - it is lightly modded to help players get started quicker and runs on fast dedicated hardware hosted in the UK.\n\n - Increased gather - 2x power source output\n - 1 hour demolish & rotate - No codelocks or keys\n - Fueled minicopters don't decay - Randomised Chinook drops\n - No buildable underground caves\n\nMaps are wiped first & third Thursday with a full blueprint wipe every two months.\n\nCheck the Discord for more information.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780597230,
"icon": null,
"name": "Rust Solo Only / Lightly Modded / UK & Europe",
"connect": "51.89.222.250:28056",
"request": "51.89.222.250:28055",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779687,
"last_update": 1780597230,
"banned": false,
"wipe": 1780595988,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4528,
"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/444468");
$data = json_decode($json, true);
var_dump($data);