API für mandm
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286236032257042",
"domain": null,
"id": 10672882,
"ip": "98.142.3.135",
"port": 20485,
"query": 20486,
"project_id": null,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1768641040,
"last_online": 1781246465,
"icon": null,
"name": "mandm",
"connect": "98.142.3.135:20485",
"request": "98.142.3.135:20486",
"map": "VRisingWorld",
"gamemode": "cf5511d0-0c02-4081-ba90-b30e5803dd22",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764580525,
"last_update": 1781246465,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1087,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10672882");
$data = json_decode($json, true);
var_dump($data);