API für McDanked's Training Grounds
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 240,
"fps_avg": 240,
"entities_count": 68343,
"world_seed": 1860477019,
"world_size": 3500,
"steam_id": "90286585020359694",
"domain": null,
"id": 11596813,
"ip": "135.148.15.9",
"port": 26798,
"query": 26799,
"color": 0,
"city": "Hudson",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779913400,
"last_online": 1780578185,
"icon": null,
"name": "McDanked's Training Grounds",
"connect": "135.148.15.9:26798",
"request": "135.148.15.9:26799",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779358599,
"last_update": 1780578185,
"banned": false,
"wipe": 1778885386,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8572,
"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/11596813");
$data = json_decode($json, true);
var_dump($data);