API für MadHouse [Test]
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 228,
"fps_avg": 227,
"entities_count": 31831,
"world_seed": 1738,
"world_size": 2500,
"steam_id": "90286591579900932",
"domain": null,
"id": 11677451,
"ip": "102.39.118.251",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Johannesburg",
"description": "![MadHouse [Test]](https://image.myrustserver.com/logo/Reaper78_69ebcb2318e53.jpeg)\n*Raid Times: Sunday - Friday 18:00 to 21:59 \r\n Saturday 18:00 to 23:59\r\n*If it says PVP its PVP...You and The One you want to attack must be in PVP unless its Oil, cargo, Airdrop or a Event you don't want to get involved stay away or get away.\r\n*Sort a KOS out by yourself before reporting it to Admin.\r\n Reporting: Post a Screenshot of the Map and Combat log in discord under KOS Report.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780563869,
"last_online": 1780582243,
"icon": null,
"name": "MadHouse [Test]",
"connect": "102.39.118.251:28025",
"request": "102.39.118.251:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780216210,
"last_update": 1780582243,
"banned": false,
"wipe": 1780573082,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5884,
"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/11677451");
$data = json_decode($json, true);
var_dump($data);