JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10432182
json
{
  "response": {
    "steam_id": "90285161448587295",
    "domain": null,
    "id": 10432182,
    "ip": "150.101.105.115",
    "port": 3728,
    "query": 27020,
    "color": 0,
    "city": "Hobart",
    "description": null,
    "game": 366220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774778531,
    "score": 0,
    "last_online": 1777554049,
    "icon": null,
    "name": "Arcadia 1x non-combat Gobbler game",
    "connect": "150.101.105.115:3728",
    "request": "150.101.105.115:27020",
    "map": "Ocrea",
    "gamemode": "Wurm Unlimited Server",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1759829306,
    "last_update": 1777554049,
    "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": 52,
    "language": "en",
    "parked": false,
    "app": {
      "id": 155,
      "steam_id": 366220,
      "name": "Wurm Unlimited",
      "url": "wurm-unlimited"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10432182");
$data = json_decode($json, true);
var_dump($data);