JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10310418
json
{
  "response": {
    "fps": 61,
    "fps_avg": 60,
    "entities_count": 134903,
    "world_seed": 1880806609,
    "world_size": 4500,
    "steam_id": "90286582540005407",
    "domain": null,
    "id": 10310418,
    "ip": "188.90.204.231",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Beverwijk",
    "description": "![[EU] Rusty Skull | 2x | No Decay | No BP Wipe | Max 5](https://www.dropbox.com/s/7yg3kjepdizjdpj/pvp-header-image.jpg?dl=1)\nWelcome by 'Rusty Skull' server. Searching for more action in PvP / Raiding feel free to join this server. A bit tired off playing PvP or raiding? feel free to join my 'Rusty Skull PVE' server.\r\n\r\n\r\nRules in short:\r\n\r\n1  Groupsize: 5.\r\n2  No griefing.\r\n3  English only.\r\nFor the detailed rules, check the discord server.\r\n\r\n\r\nInformation\r\n* Wipe schedule: Monthly (First thursday of the month).\r\n* BP wipe: No BP wipe. (Only if Rust forced it.)\r\n* Building decay: No decay.\r\n\r\nMods:\r\n- Convoy event\r\n- Cargo Plane Crash event\r\n- Guarded crate event\r\n- Backpacks\r\n- Raid protection (only first few days)\r\n- Night skip vote\r\n- Remover tool\r\n\r\nFor more information about the server. You can find it on my website or at the discord server:\r\nDiscord url: https://discord.gg/Uf649YcSgj",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780549468,
    "last_online": 1780584635,
    "icon": null,
    "name": "[EU] Rusty Skull | 2x | No Decay | No BP Wipe | Max 5",
    "connect": "188.90.204.231:28015",
    "request": "188.90.204.231:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1758288363,
    "last_update": 1780584635,
    "banned": false,
    "wipe": 1778177471,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3595,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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