API für Mischievous PVE
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 69,
"fps_avg": 70,
"entities_count": 111749,
"world_seed": 1605782648,
"world_size": 4500,
"steam_id": "90286610739596310",
"domain": null,
"id": 11645189,
"ip": "24.66.212.91",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Rocky Mountain House",
"description": "\n Slightly Tarnished Vanilla \r\n PVE Server \r\n Bots at Most Monuments \r\n Remover Tool \r\n Higher Stack Sizes \r\n One Minute Hackable Create \r\n Monthly Server and BP wipe \r\n 50 less Upkeep \r\n Raidable Bases",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780607000,
"last_online": 1780812036,
"icon": null,
"name": "Mischievous PVE",
"connect": "24.66.212.91:28015",
"request": "24.66.212.91:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177452,
"last_update": 1780812036,
"banned": false,
"wipe": 1780607002,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5644,
"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/11645189");
$data = json_decode($json, true);
var_dump($data);