Rust
API для AceRust.com 3x Solo/Duo|LootX3| Shared BPs
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/862300json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 167309,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90284528268778514",
"domain": null,
"id": 862300,
"ip": "205.178.168.56",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Dallas",
"description": "Welcome to AceRust\r\n\\t - 3x Gather Rate\r\n\\t - Max Team: 2\r\n\\t - Custom Loot Tables\r\n\\t - Tier 1 BPs unlocked\r\n\\t - Fullbase Workbench\r\n \\t - Instant Crafting/Faster Smelting\r\n\\t - Recyclers at Dome, Oilrigs, Cargo, Ranches & Fishing Villages\r\n\\t - Long Days & Short Nights\r\n\\t - Automated Teaming Detection\r\n\\t - Custom AntiCheat",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": null,
"last_online": 1776400210,
"icon": null,
"name": "AceRust.com 3x Solo/Duo|LootX3| Shared BPs",
"connect": "205.178.168.56:28015",
"request": "205.178.168.56:28010",
"map": "Wiped - 10 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 208,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 108,
"add_date": 1684680472,
"last_update": 1776400210,
"banned": false,
"wipe": 1776362440,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 67,
"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/862300");
$data = json_decode($json, true);
var_dump($data);