API dla RustLife Pure PvE Survival Kits|Events|Backpack|
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 188,
"fps_avg": 177,
"entities_count": 75240,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286464206018566",
"domain": null,
"id": 11606642,
"ip": "198.244.230.172",
"port": 25585,
"query": 25588,
"color": 0,
"city": "London",
"description": ".png)\nWelcome to RustLife — a relaxed Pure PvE survival experience built for builders, explorers, and long-term progression players. Pure PvE protection with cooperative gameplay Monthly wipes for fresh progression Survival kits to help you start strong Events and PvE encounters to keep gameplay exciting Backpack system for smoother exploration Friendly community with active admin support Build freely, explore confidently, and experience Rust without the chaos.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780555414,
"last_online": 1780307431,
"icon": null,
"name": "RustLife Pure PvE Survival Kits|Events|Backpack|",
"connect": "198.244.230.172:25585",
"request": "198.244.230.172:25588",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915478,
"last_update": 1780555414,
"banned": false,
"wipe": 1778177372,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12201,
"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/11606642");
$data = json_decode($json, true);
var_dump($data);