JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9500880
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9500880,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 240,
    "owner": 35286,
    "boosts": 1,
    "last_offline": 1762754560,
    "score": 0,
    "last_online": 1761843629,
    "icon": null,
    "name": "|||Sn00pY|||24/7|VIP|[Deathmatch]",
    "connect": null,
    "request": null,
    "map": "fy_TwoTowers",
    "gamemode": "Counter-Strike: Source",
    "version": null,
    "numplayers": 0,
    "maxplayers": 41,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1750089220,
    "last_update": 1762754560,
    "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": 1956,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 5,
      "steam_id": 240,
      "name": "Counter-Strike: Source",
      "url": "counter-strike-source"
    },
    "server_owner": {
      "username": "erem326",
      "avatar": "7048da97-a1c9-49b0-9b66-31fc62ece79a.jpg",
      "last_online": 1760808064
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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