API для Rust 'n' Chill 3x|Solo/Duo/Trio|Noob Friendly|RNC
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 93,
"fps_avg": 92,
"entities_count": 102123,
"world_seed": 845927578,
"world_size": 4250,
"steam_id": "90286616984891398",
"domain": null,
"id": 11744555,
"ip": "45.92.36.105",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Maidenhead",
"description": "We are a relaxed server with rules in place to promote a chilled-out environment\r\n\r\nJoin our Discord! Go to https://discord.gg/99P4H5r8cX or type /discord in chat for a copy/pastable link!\r\n\r\nServer Info:\r\nMap + BP wipe: Monthly - next wipe Thursday 2nd July\r\nTeam size limit: 3 Gather rate: 3x Stack sizes: 5x\r\nExtra loot in crates & barrels (except Bradley & Heli)\r\nCraft time (except explosives), smelting speed, decay speed & base upkeep all reduced by 50%\r\n\r\nSelected plugins: AutoPlant, BGrade, BuildingWorkbench, Backpacks, ExtendedRecycler, NPCTaxi, GUIShop, SpawnMini, Skinbox, Sign Artist, SortButton & more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780653628,
"icon": null,
"name": "Rust 'n' Chill 3x|Solo/Duo/Trio|Noob Friendly|RNC",
"connect": "45.92.36.105:28025",
"request": "45.92.36.105:28026",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780518704,
"last_update": 1780653628,
"banned": false,
"wipe": 1780596307,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5756,
"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/11744555");
$data = json_decode($json, true);
var_dump($data);