JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11435452
json
{
  "response": {
    "fps": 235,
    "fps_avg": 233,
    "entities_count": 33021,
    "world_seed": 449105443,
    "world_size": 2500,
    "steam_id": "90286603613045767",
    "domain": null,
    "id": 11435452,
    "ip": "95.156.225.18",
    "port": 28017,
    "query": 28018,
    "project_id": null,
    "color": 0,
    "city": "Hamburg",
    "description": "![DEEPSPACE [FR/EU]|X10|QUAD|THURSDAYWIPE|OPENINGSOON](https://i.imgur.com/SJEE40I.png)\nDEEPSPACE X10 | 10X QUAD LOOT+ | NO PAY TO WIN | KITS/TP/HOME/SKINBOX/MYMINI/CLANS\r\n\r\nStop wasting time hitting trees like a bot. Get geared, get out there, and dominate. This isn't a summer camp; it's an absolute war zone, so act like it.\r\n\r\n🔥 WIPE: Every Thursday (19:30 - 20:00). Be there or get crushed.\r\n\r\n⚙️ SERVER FEATURES:\r\n- 10x Harvest & Loot (Fast-paced, non-stop action)\r\n- Instant Craft & Fast Smelt (Zero waiting, 100% fighting)\r\n- Kits, TP, Home, Skinbox, MyMini, Clans (Everything you need to crush your enemies)\r\n- Buttery smooth performance for massive PvP\r\n\r\n📜 RULES:\r\n1. Stop crying. If you get raided, build better and take your revenge.\r\n2. No Cheating/Scripts. We will catch you and perma-ban your ass.\r\n3. Respect the Admins. We don't have time for your garbage.\r\n\r\n💀 Join the Discord: https://discord.gg/jyesDfkQtB\r\n\r\nGEAR UP, PREPARE FOR CHAOS, AND BECOME A LEGEND. GOOD LUCK.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595061,
    "last_online": 1780932036,
    "icon": null,
    "name": "DEEPSPACE [FR/EU]|X10|QUAD|THURSDAYWIPE|OPENINGSOON",
    "connect": "95.156.225.18:28017",
    "request": "95.156.225.18:28018",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 120,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774977189,
    "last_update": 1780932036,
    "banned": false,
    "wipe": 1780594995,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4812,
    "language": "de",
    "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/11435452");
$data = json_decode($json, true);
var_dump($data);