Rust
API для Vexon Rust - EU 2x Solo/duo/trio |Tp|Home|Kits|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11158336json
{
"response": {
"modded": true,
"fps": 161,
"fps_avg": 157,
"entities_count": 92491,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90285645208257567",
"domain": null,
"id": 11158336,
"ip": "57.128.210.53",
"port": 28068,
"query": 28069,
"color": 0,
"city": "Warsaw",
"description": "\nWelcome to Vexon Rust - EU 2x Solo/duo/trio\r\n Max team size: 3 players (No alliances)\r\n Rates: 2x Gather | 1.5x Components | Faster progression\r\n Commands: /tp | /home | /kits\r\n Active non-playing admins\r\n No cheating, exploiting or scripting\r\n No racism, toxicity or harassment\r\n Respect team limit - breaking rules = ban\r\n Regular wipes and stable performance\r\n Have fun and good luck on RustPulse.gg!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778554979,
"score": 0,
"last_online": 1778596221,
"icon": null,
"name": "Vexon Rust - EU 2x Solo/duo/trio |Tp|Home|Kits|",
"connect": "57.128.210.53:28068",
"request": "57.128.210.53:28069",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228108,
"last_update": 1778596221,
"banned": false,
"wipe": 1778181096,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4262,
"language": "pl",
"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/11158336");
$data = json_decode($json, true);
var_dump($data);