API dla RUSTWOOD.FUN - FRONTIER ISLAND
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 202,
"fps_avg": 197,
"entities_count": 99328,
"world_seed": 1242483023,
"world_size": 4250,
"steam_id": "90286583662715912",
"domain": null,
"id": 11606750,
"ip": "109.195.87.103",
"port": 28015,
"query": 28017,
"color": 0,
"city": "St Petersburg",
"description": "\nWelcome to the Frontier Island!\r\nHere you'll find a calm, relaxed atmosphere designed to let you unwind and explore new game mechanics without losing the spirit of classic gameplay.\r\nServer Features:\r\n- Pure vanilla gameplay enhanced with quality-of-life additions\r\n- Relaxed gameplay experience without aggressive PvP\r\n- Many new mechanics for comfortable and engaging exploration\r\n- Ideal for players looking to enjoy a laid-back experience while discovering new possibilities.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780554265,
"last_online": 1780594235,
"icon": null,
"name": "RUSTWOOD.FUN - FRONTIER ISLAND",
"connect": "109.195.87.103:28015",
"request": "109.195.87.103:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 777,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915480,
"last_update": 1780594235,
"banned": false,
"wipe": 1779797184,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5150,
"language": "ru",
"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/11606750");
$data = json_decode($json, true);
var_dump($data);