API dla [EU] Flux • 2x Monthly • Solo/Duo/Trio • WIPED 07/05
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 117945,
"world_seed": 93125413,
"world_size": 4500,
"steam_id": "90286582461987849",
"domain": null,
"id": 11511271,
"ip": "85.121.120.19",
"port": 28015,
"query": 28017,
"color": 0,
"city": "London",
"description": "![[EU] Flux • 2x Monthly • Solo/Duo/Trio • WIPED 07/05](https://files.catbox.moe/125zqt.jpg)\n• Custom Events\r\n• High performance server\r\n• Custom plugins for increased FPS\r\n• No P2W\r\n• Monthly wipes on forcewipe, 19:00 UTC\r\n• No BP wipes\r\n• Custom loot — junk stripped\r\n• Soft TP: /home only",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780566031,
"icon": null,
"name": "[EU] Flux • 2x Monthly • Solo/Duo/Trio • WIPED 07/05",
"connect": "85.121.120.19:28015",
"request": "85.121.120.19:28017",
"map": "Hosted in London, UK",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353840,
"last_update": 1780566031,
"banned": false,
"wipe": 1778216919,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5162,
"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/11511271");
$data = json_decode($json, true);
var_dump($data);