JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11726696
json
{
  "response": {
    "steam_id": "90286513712678918",
    "domain": null,
    "id": 11726696,
    "ip": "109.123.230.45",
    "port": 5575,
    "query": 5575,
    "color": 0,
    "city": "Tokyo",
    "description": null,
    "game": 108600,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780388704,
    "last_online": 1780403439,
    "icon": null,
    "name": "WURO LAND",
    "connect": "109.123.230.45:5575",
    "request": "109.123.230.45:5575",
    "map": "Kingsmouth North B42;McCoy-Cros",
    "gamemode": "Project Zomboid",
    "version": "42.19",
    "numplayers": 5,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 43,
    "add_date": 1780388704,
    "last_update": 1780403439,
    "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": 3492,
    "language": "ja",
    "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/11726696");
$data = json_decode($json, true);
var_dump($data);