JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11724594
json
{
  "response": {
    "steam_id": "90286489805672479",
    "domain": null,
    "id": 11724594,
    "ip": "85.14.217.9",
    "port": 25300,
    "query": 25310,
    "color": 0,
    "city": "Düsseldorf",
    "description": null,
    "game": 16900,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780570411,
    "last_online": 1780390880,
    "icon": null,
    "name": "Ground Branch Server",
    "connect": "85.14.217.9:25300",
    "request": "85.14.217.9:25310",
    "map": "nv103518891",
    "gamemode": "Ground Branch",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780325410,
    "last_update": 1780570411,
    "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": 102,
    "language": "de",
    "parked": false,
    "app": {
      "id": 49744,
      "steam_id": 16900,
      "name": "GROUND BRANCH",
      "url": "ground-branch"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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