Rust
API для ⦿【ICEFUSE】2X Oblivion (Solo/Duo/Trio/Quad|Loot x2|WIPED)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/782644json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 75480,
"steam_id": "90284708893085705",
"domain": null,
"id": 782644,
"ip": "205.178.168.47",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\n▼SERVER FEATURES▼\r\n⦿ 2X Gather Rates, 2X Recycle AND 2X Smelting Speeds!\r\n⦿ Advanced Loot With Removed Junk, Enhanced Stack Sizes!\r\n⦿ Free Bgrade, Autodoors, Skinbox, and Remove for everyone!\r\n⦿ Clans, Teams, Kits, Homes, Teleporting\r\n⦿ Merged Outpost And Bandit With Recyclers At Monuments\r\n \r\n▼SERVER RAIDING RULES▼\r\n ✓ You are allowed 4 members to roam/raid/base with!\r\n \r\n▼SERVER WIPE TIMES▼\r\n ★ Monday & Thursday at 3:00 PM EST",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": null,
"last_online": 1776853820,
"icon": null,
"name": "⦿【ICEFUSE】2X Oblivion (Solo/Duo/Trio/Quad|Loot x2|WIPED)",
"connect": "205.178.168.47:28010",
"request": "205.178.168.47:28015",
"map": "Wiped 34 hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1681806311,
"last_update": 1776853820,
"banned": false,
"wipe": 1776711789,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2542,
"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/782644");
$data = json_decode($json, true);
var_dump($data);