JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11645269
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 117421,
    "world_seed": 1416553505,
    "world_size": 4500,
    "steam_id": "90286604926808079",
    "domain": null,
    "id": 11645269,
    "ip": "193.31.31.106",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![Draconic - 5X Large |BATTLEFEILD|CHAOS|MONTHLY|KITS|](https://i.imgur.com/wHJcRQp.png)\n[ Draconic 5X Large - Monthly PvP ] \r\nNewcomers welcome!\r\n\r\n[ Wipe Schedule ]\r\nMonthly map wipe every first Thursday of the month @ 12PM Central\r\nMonthly BP wipe on force wipe\r\n\r\n[ Server Info ]\r\n - 5X Gather Rate\r\n - Kits\r\n - Backpacks\r\n - Raidable Bases\r\n - Remove Tool\r\n - Clans\r\n - /mymini\r\n - /trade\r\n - /tp\r\n - Shorter Event Spawns\r\n - Active Admins\r\n - Live Discord Integration\r\n - VIP Skip Queue\r\n - Map size: 4500\r\n\r\n[ RULES ]\r\n - NO CHEATING/HACKING/EXPLOITS\r\n\r\nJoin our discord!  -  discord.gg/QY3RymY6zj\r\nMemberships at shop.draconic.store",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598667,
    "last_online": 1780606237,
    "icon": null,
    "name": "Draconic - 5X Large |BATTLEFEILD|CHAOS|MONTHLY|KITS|",
    "connect": "193.31.31.106:28015",
    "request": "193.31.31.106:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177458,
    "last_update": 1780606237,
    "banned": false,
    "wipe": 1780598683,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5431,
    "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/11645269");
$data = json_decode($json, true);
var_dump($data);