API dla RUSTY BURGER - 2X | 3 Days Offline Protection | Solo/Duo/Trio |
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 45,
"fps_avg": 46,
"entities_count": 225726,
"world_seed": 1308021918,
"world_size": 6000,
"steam_id": "90286619527352325",
"domain": null,
"id": 4666160,
"ip": "54.37.245.179",
"port": 28315,
"query": 28316,
"color": 0,
"city": "London",
"description": "\n**Make your Steam profile public to play on this server.**\r\n This is to stop new Steam accounts, used by cheaters, from joining our server.\r\n\r\n- Noob friendly server\r\n- RAIDABLE BASES PLUGIN\r\n- ROAD CONVOY PLUGIN\r\n- Discord: https://discord.gg/7T7ZYEU\r\n- Website: https://www.rustyburger.co.uk\r\n- Admins DO NOT PLAY\r\n- Slower boat decay\r\n- Team Max 3\r\n- 3 Days Offline Protection\r\n- Detailed player stats on our site\r\n- No BP wipe\r\n- Buyable Tugboats\r\n- Minis spawn on roads\r\n- Extra recyclers at Ranch & Fishing Villages\r\n- Low upkeep\r\n- Chat & events history available on Discord\r\n- Special daily event at 8.30pm: 5 helis + 12 airdrops!\r\n- No VAC ban or GameBan allowed\r\n- Monthly wipe\r\n\r\n rs027d>a]?P>0rAi50%q6%",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780632854,
"last_online": 1780640426,
"icon": null,
"name": "RUSTY BURGER - 2X | 3 Days Offline Protection | Solo/Duo/Trio |",
"connect": "54.37.245.179:28315",
"request": "54.37.245.179:28316",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 4,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1717669016,
"last_update": 1780640426,
"banned": false,
"wipe": 1780597566,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2129,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/4666160");
$data = json_decode($json, true);
var_dump($data);