API für Timo-Welt
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286779678574594",
"domain": null,
"id": 11649243,
"ip": "134.255.228.6",
"port": 21500,
"query": 21500,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "alles meins!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780940067,
"last_online": 1781002234,
"icon": null,
"name": "Timo-Welt",
"connect": "134.255.228.6:21500",
"request": "134.255.228.6:21500",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177673,
"last_update": 1781002234,
"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": 2639,
"language": "de",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11649243");
$data = json_decode($json, true);
var_dump($data);