JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11668649
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 140644,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286570836362243",
    "domain": null,
    "id": 11668649,
    "ip": "66.51.99.44",
    "port": 28085,
    "query": 28086,
    "color": 0,
    "city": "Dallas",
    "description": "WELCOME TO NEXUS\r\nMAP: Decay V3.3a Custom Map\r\nWIPE: No-Wipe (Wipes by Player Vote Only)\r\nFEATURES:\r\n- Custom Monuments & Working Electrics\r\n- Raidable Bases (All Difficulties)\r\n- ZLevels Remastered Skills\r\n- Backpacks & Teleportation\r\n- Balanced Stack Sizes\r\n- Economy\r\n-Events\r\n- High-Performance 60 FPS Gameplay\r\nRULES: No cheating or griefing. Respect the community.\r\nJOIN THE DISCORD:\r\nhttps://discord.gg/y3Eabthasb",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780347854,
    "last_online": 1780549233,
    "icon": null,
    "name": "NEXUS-raid protection-economy-Zlevels",
    "connect": "66.51.99.44:28085",
    "request": "66.51.99.44:28086",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780180333,
    "last_update": 1780549233,
    "banned": false,
    "wipe": 1778619923,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5833,
    "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/11668649");
$data = json_decode($json, true);
var_dump($data);