JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/3208240
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 3208240,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![Mirage Classic 133 Devblog](https://ibb.co/cCQwsTq)\nHosted By Rogue",
    "game": 252490,
    "owner": 83389,
    "boosts": 1,
    "last_offline": 1761066203,
    "score": null,
    "last_online": 1759053017,
    "icon": null,
    "name": "TOOL RUST | X50-X300 | ToolCoin WIPE 25.09",
    "connect": null,
    "request": null,
    "map": "Barren",
    "gamemode": "Rust: Survival Mode",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1709469546,
    "last_update": 1761066203,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 7908,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "yerogue",
      "avatar": "f59d8065-4d0f-42f0-aaec-15d197d6bacd.jpg",
      "last_online": 1726392265
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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