JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11167199
json
{
  "response": {
    "steam_id": "90281612565979155",
    "domain": null,
    "id": 11167199,
    "ip": "147.124.199.136",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779240185,
    "last_online": 1781235693,
    "icon": null,
    "name": "Dark Matter - Bloodcraft x5 Loot",
    "connect": "147.124.199.136:28015",
    "request": "147.124.199.136:28016",
    "map": "VRisingWorld",
    "gamemode": "7e804761-d68e-4a8d-9063-2d93f524ea8e",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1772228652,
    "last_update": 1781235693,
    "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": 1482,
    "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/11167199");
$data = json_decode($json, true);
var_dump($data);