Rust
API для XRUST.CO AU 5x Monthly Solo/Duo/Trio/Quad 2/4 2.4 Vehicle|Shop|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5615355json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 65342,
"world_seed": 980279675,
"world_size": 3600,
"steam_id": "90284754083462152",
"domain": null,
"id": 5615355,
"ip": "139.99.187.65",
"port": 28021,
"query": 28023,
"color": 0,
"city": "Sydney",
"description": "\nStore - All Rewards - Wipe Info & Alerts: FULLWIPED.COM\r\n\r\n★Quests: Visit the NPC Quest building at Outpost to take on unique missions and fairly earn valuable rewards such as Test Generators, weapons, and clothing.\r\n★/raid Alarm – Get Notified on Rust+ & Discord When Raided.\r\n★Raid over 210 unique Raidable Base designs.\r\n★Auto team share or Solo limits (TC-Sam-Doors-Turrets).\r\n★Advantage clan plugin or Solo enforcement with autoban.\r\n★Vehicle Buy & Vending Unlimited Stock.\r\n★Alpha Loot & Unique Gather.\r\n★Faster Recycler & Submersible Pump.\r\n★Stack Size Controller & Faster Craft.\r\n★Home - Outpost TPs.\r\n★Daily Cases & Link Kits & Trade.\r\n★In-Game Shop & Furnace Speed Upgrade.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776803597,
"score": 0,
"last_online": 1776840023,
"icon": null,
"name": "XRUST.CO AU 5x Monthly Solo/Duo/Trio/Quad 2/4 2.4 Vehicle|Shop|",
"connect": "139.99.187.65:28021",
"request": "139.99.187.65:28023",
"map": "Wiped 19 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1723692586,
"last_update": 1776840023,
"banned": false,
"wipe": 1775152178,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2754,
"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/5615355");
$data = json_decode($json, true);
var_dump($data);