API dla The Frontier 5X | Solo/Duo/Trio/Quad | NoBP Wipe | Better Loot
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 62,
"fps_avg": 129,
"entities_count": 49405,
"world_seed": 8675309,
"world_size": 3000,
"steam_id": "90286581308915716",
"domain": null,
"id": 11606902,
"ip": "74.208.36.3",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Kansas City",
"description": "\n\r\nHigh action, fast-paced survival. \r\n \r\n GATHER RATES: 5x Wood, Stone, Metal, and Scrap \r\n? GROUP LIMIT: Max 4 players per team (Strictly Enforced) \r\n? COMPONENTS: Enhanced loot tables with junk removed \r\n? CONVENIENCE: AutoDoors, StackSize (10k), and Hammer Upgrades \r\n? SCHEDULE: Map wipes monthly, first thursday of the month!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780200236,
"last_online": 1780559428,
"icon": null,
"name": "The Frontier 5X | Solo/Duo/Trio/Quad | NoBP Wipe | Better Loot",
"connect": "74.208.36.3:28015",
"request": "74.208.36.3:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915487,
"last_update": 1780559428,
"banned": false,
"wipe": 1779639290,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5473,
"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/11606902");
$data = json_decode($json, true);
var_dump($data);