Rust
API для 2X RUSTARIS | JUST WIPED 8/4 | MAX3 | 2X PURE | ADMINS | EU/RO
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11004924json
{
"response": {
"fps": 152,
"fps_avg": 160,
"entities_count": 46861,
"world_seed": 299959902,
"world_size": 3000,
"steam_id": "90284109812514834",
"domain": null,
"id": 11004924,
"ip": "135.148.137.77",
"port": 60421,
"query": 60423,
"color": 0,
"city": "Warrenton",
"description": "✯--------------------------------------------------------------✯\r\n ✯ Welcome to Rustaris Community\r\n ✯--------------------------------------------------------------✯\r\n ✯ 2x Gather, 2x Loot, 2x Smelt Speed, 2X Crafting Speed and 4x Cupboard Stacks\r\n ✯ Long Days & Short Nights + Clear Nights\r\n ✯ NO Kits, NO Teleport and NO PAY to WIN\r\n ✯ Added recyclers at Dome, Cargo Ship, Oilrigs, Fishing Villages, Large Barn, and Ranch\r\n ✯ Added 7 CCTVs to Cargo Ship, 6 CCTVs to Train Stations\r\n ✯ Added BBQs/Camp Fires/Hobo Barrels to safe zones and low-level named monuments that lack them\r\n ✯ Added Air Wolf vendors to Outpost, Large Barn, Ranch, Fishing Villages and Large Fishing Village\r\n ✯ Added custom events like Helicopter Refuel at monuments and Pilot Eject\r\n ✯ Added Minicopter and Scrap Helicopter spawning near the roads (Low)\r\n ✯ Added extended workbench range in your base\r\n ✯ Added custom cupboard stacks sizes\r\n ✯ Everyone has access to Furnace Splitter, Storage Sorter\r\n ✯ Everyone has access to /skin, /trade, /share, /sil\r\n ✯ Write /help for all commands\r\n ✯------------------------ Rules: ----------------------✯\r\n ✯ 1. MAXIMUM TEAM IS 3 PLAYERS and NO RACISM\r\n ✯ 2. No hacking/scripting or intentional bug abuse\r\n ✯ 3. No ban evading or EAC/FP banned alts\r\n ✯---------------------- Details: ----------------------✯\r\n ✯ Website: www.rustaris.com ✯ Discord: discord.rustaris.com\r\n ✯ Steam: steam.rustaris.com ✯ E-Mail: contact@rustaris.com\r\n The last wipe was on Wednesday 8/4\nThe next wipe will be on Wednesday",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775683326,
"score": 0,
"last_online": 1776210615,
"icon": null,
"name": "2X RUSTARIS | JUST WIPED 8/4 | MAX3 | 2X PURE | ADMINS | EU/RO",
"connect": "135.148.137.77:60421",
"request": "135.148.137.77:60423",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769939018,
"last_update": 1776210615,
"banned": false,
"wipe": 1775683805,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4648,
"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/11004924");
$data = json_decode($json, true);
var_dump($data);