API dla [EU] Wilderness 50% Upkeep Softcore | Monthly | No BP wipe | No
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 104,
"fps_avg": 102,
"entities_count": 74084,
"world_seed": 879688367,
"world_size": 3500,
"steam_id": "90286376685821971",
"domain": null,
"id": 11501829,
"ip": "51.68.223.50",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Roubaix",
"description": "![[EU] Wilderness 50% Upkeep Softcore | Monthly | No BP wipe | No](https://images2.imgbox.com/63/b5/EM8ZrjS2_o.png)\nWelcome to the Wilderness!\r\n-Monthly Map wipes (NO BP WIPE)\r\n-Monthly Giveaways\r\n-Active Admins and community\r\n-No mass raiding\r\nAll rules are on our discord https://discord.wildernessgaming.co.uk",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780608203,
"last_online": 1780417237,
"icon": null,
"name": "[EU] Wilderness 50% Upkeep Softcore | Monthly | No BP wipe | No",
"connect": "51.68.223.50:28015",
"request": "51.68.223.50:28017",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207181,
"last_update": 1780608203,
"banned": false,
"wipe": 1778176846,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10951,
"language": "fr",
"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/11501829");
$data = json_decode($json, true);
var_dump($data);