API für Bot Wars Redux PVE 5X
JSON für Programme, Websites und mehr
text
json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 59,
"entities_count": 112879,
"world_seed": 1389287808,
"world_size": 4250,
"steam_id": "90286610043332628",
"domain": null,
"id": 1036194,
"ip": "104.143.3.209",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nNew and Friendly Players Welcome!\r\nWipes first Thursday of each month.\r\nDiscord: https://discord.gg/ZHnKkR9VaZ \r\n\r\nFeatures:\r\nBetterNPC\r\nDangerous Treasures\r\nRaidable Bases\r\nPlus other Events\r\n\r\nAddons:\r\nBackpacks\r\nKits\r\nRemove Tool\r\nSkinbox\r\nAnd More\r\n\r\nExtras:\r\nTown/Admin Shop\r\nHeli Towers\r\nWater Bases",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605861,
"last_online": 1780675830,
"icon": null,
"name": "Bot Wars Redux PVE 5X",
"connect": "104.143.3.209:28015",
"request": "104.143.3.209:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1688594410,
"last_update": 1780675830,
"banned": false,
"wipe": 1780605840,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2468,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1036194");
$data = json_decode($json, true);
var_dump($data);