API dla RUSTLAB | Solo Only | Vanilla | Just Wiped 02/06 (19:00 CET)
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 126,
"fps_avg": 123,
"entities_count": 106124,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286522799948809",
"domain": null,
"id": 11511348,
"ip": "65.21.237.118",
"port": 60419,
"query": 60421,
"project_id": null,
"color": 0,
"city": "Helsinki",
"description": "\nWelcome to RUSTLAB \r\n\r\n → BPs - Monthly @ FacePunch Update \r\n → Group limit: Solo \r\n → Alliances = Ban \r\n → Vending In Stock \r\n → 50% upkeep \r\n → Extra Recyclers @ Fishing/Ranch \r\n → Map size: 4000+FPS \r\n → No racism \r\n → Active non playing admins Computer & Video Games \r\n → 3+ Vac/Game Ban = Ban \r\n → Cheating/Scripting = Ban \r\n → VAC / Game Ban < 365 days = permanent ban on RUSTLAB. \r\n\r\n → Last Map Wipe: 02/06/2026 19:00 CET. \r\n → Next Map Wipe: 02/07/2026 20:00 CET.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780418657,
"last_online": 1780674633,
"icon": null,
"name": "RUSTLAB | Solo Only | Vanilla | Just Wiped 02/06 (19:00 CET)",
"connect": "65.21.237.118:60419",
"request": "65.21.237.118:60421",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353841,
"last_update": 1780674633,
"banned": false,
"wipe": 1780418552,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5084,
"language": "fi",
"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/11511348");
$data = json_decode($json, true);
var_dump($data);