JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10544405
json
{
  "response": {
    "steam_id": 90071992547409920,
    "domain": null,
    "id": 10544405,
    "ip": "54.36.177.240",
    "port": 27120,
    "query": 27120,
    "color": 0,
    "city": "Roubaix",
    "description": null,
    "game": 9000031,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777584797,
    "score": 0,
    "last_online": 1777569745,
    "icon": null,
    "name": "[APG] - AHL:DC RC2 - T/rounds [FastDL]",
    "connect": "54.36.177.240:27120",
    "request": "54.36.177.240:27120",
    "map": "ahl_streets",
    "gamemode": "Action Deathmatch",
    "version": "1.1.2.2/Stdio",
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1762521381,
    "last_update": 1777584797,
    "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": 12,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 129,
      "steam_id": 9000031,
      "name": "Action Half-Life",
      "url": "action-half-life"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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