Rust
API для Rusty Rascals | Main Monthly | No BP Wipe 04/02
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8197639json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 105226,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90285254801181705",
"domain": null,
"id": 8197639,
"ip": "89.28.237.47",
"port": 28021,
"query": 28023,
"color": 0,
"city": "Dallas",
"description": "\nServer Offerings:\r\n-BPs never wipe\r\n-Cheats/scripts = perm ban\r\n-Extreme toxicity = ban\r\n-No VAC/game bans <365d\r\n-No Rust game bans on alts\r\n-VPNs must be whitelisted\r\n-Daily restart 9am EST\r\n-DDoS protected\r\n-Anti-teaming detection\r\n-Recyclers at Fishing Villages & Barns\r\n-Leaderboards",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776690206,
"score": 0,
"last_online": 1777744823,
"icon": null,
"name": "Rusty Rascals | Main Monthly | No BP Wipe 04/02",
"connect": "89.28.237.47:28021",
"request": "89.28.237.47:28023",
"map": "discord.rustyrascals.org",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1742388422,
"last_update": 1777744823,
"banned": false,
"wipe": 1775151463,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2292,
"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/8197639");
$data = json_decode($json, true);
var_dump($data);