JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11728263
json
{
  "response": {
    "steam_id": "90286501087355927",
    "domain": null,
    "id": 11728263,
    "ip": "169.155.125.133",
    "port": 2001,
    "query": 2002,
    "color": 0,
    "city": "Sydney",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780520070,
    "last_online": 1780520612,
    "icon": null,
    "name": "She Vamping on my Pire till I Rise",
    "connect": "169.155.125.133:2001",
    "request": "169.155.125.133:2002",
    "map": "VRisingWorld",
    "gamemode": "699de7b8-a8a7-4730-96e2-fa28f2376a1e",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 0,
    "add_date": 1780388878,
    "last_update": 1780520612,
    "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": 4008,
    "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/11728263");
$data = json_decode($json, true);
var_dump($data);