API для Fossil Rust - US | 2X | Solo/Duo/Trio | Vanilla Biweekly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 99252,
"world_seed": 1141138230,
"world_size": 4000,
"steam_id": "90286588093650975",
"domain": null,
"id": 10605646,
"ip": "91.229.114.41",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "![[NA] Unity 2x Hapis - Max 5| Biweekly | No BP Wipes, Loot+|](https://cdn.unityrustservers.net/cdn/1767321779392-Untitled image (1).png)\nWelcome to UnityRust 2x hapis fridays.\r\n This is a Max 5 team limit server (Please check our discord for more info on rules) https://discord.gg/FKQKg6Xrat\r\n\r\n\r\n ===SERVER FEATURES=== \r\n - Active Nonplaying Admins\r\n - Non-Pay2Win\r\n - Great community \r\n - Teamlimit of 5\r\n - QoL Plugins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470419,
"last_online": 1780591235,
"icon": null,
"name": "Fossil Rust - US | 2X | Solo/Duo/Trio | Vanilla Biweekly",
"connect": "91.229.114.41:28015",
"request": "91.229.114.41:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763321662,
"last_update": 1780591235,
"banned": false,
"wipe": 1778177671,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3691,
"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/10605646");
$data = json_decode($json, true);
var_dump($data);