JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511450
json
{
  "response": {
    "fps": 10,
    "fps_avg": 9,
    "entities_count": 83568,
    "world_seed": 1192578254,
    "world_size": 3700,
    "steam_id": "90286553453724675",
    "domain": null,
    "id": 11511450,
    "ip": "31.214.203.136",
    "port": 10400,
    "query": 10401,
    "color": 0,
    "city": "Clifton",
    "description": "![[NA] Calm Rust 3x | WEEKLY | NO BP WIPES | SOLO - QUAD |](https://i.imgur.com/Yky4QJn.png)\nCalmRust 3x | WEEKLY\r\n\r\nDiscord:\r\nhttps://discord.gg/c9qZf87NrQ\r\n\r\n>> 3x Gather | Loot | Smelt\r\n>> Faster Crafting\r\n>> NO BP Wipes\r\n>> 4 Max Team\r\n>> Wipes Every Thursday\r\n\r\n[Features]\r\n- BetterLoot (Balanced)\r\n- Quick Smelt\r\n- Furnace Splitter\r\n- Half Upkeep\r\n- Tier 1 BPs\r\n- QoL Improvements\r\n- Active Admins\r\n\r\nLess Grind. More PvP.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780484644,
    "last_online": 1780549232,
    "icon": null,
    "name": "[NA] Calm Rust 3x | WEEKLY | NO BP WIPES | SOLO - QUAD |",
    "connect": "31.214.203.136:10400",
    "request": "31.214.203.136:10401",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 130,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353848,
    "last_update": 1780549232,
    "banned": false,
    "wipe": 1780009705,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5180,
    "language": "en",
    "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/11511450");
$data = json_decode($json, true);
var_dump($data);