API für BW Test Server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 58,
"entities_count": 113010,
"world_seed": 2125564517,
"world_size": 4250,
"steam_id": "90286588910352404",
"domain": null,
"id": 1034456,
"ip": "104.143.3.209",
"port": 29015,
"query": 29016,
"color": 0,
"city": "Dallas",
"description": "\nBW TEST SERVER\r\n\r\nYou must be Whitelisted to play here.\r\n If you are an MVP on either of our servers you are on the Whitelist. \r\n\r\n This is our testing and development server.\r\nNew mods and plugins are setup and tested before deployment on BW Redux or BW Zombified.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779502413,
"last_online": 1780575639,
"icon": null,
"name": "BW Test Server",
"connect": "104.143.3.209:29015",
"request": "104.143.3.209:29016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1688591782,
"last_update": 1780575639,
"banned": false,
"wipe": 1778184884,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2456,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/1034456");
$data = json_decode($json, true);
var_dump($data);