JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11365326
json
{
  "response": {
    "steam_id": "90284791873503252",
    "domain": null,
    "id": 11365326,
    "ip": "85.190.163.13",
    "port": 11000,
    "query": 11001,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774950128,
    "score": 0,
    "last_online": 1776824524,
    "icon": null,
    "name": "Nitrado.net Gameserver",
    "connect": "85.190.163.13:11000",
    "request": "85.190.163.13:11001",
    "map": "VRisingWorld",
    "gamemode": "f1cf1399-b0d9-43e3-9a8e-35e5d4932a76",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1774595187,
    "last_update": 1776824524,
    "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": 2396,
    "language": "de",
    "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/11365326");
$data = json_decode($json, true);
var_dump($data);