JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11502467
json
{
  "response": {
    "fps": 90,
    "fps_avg": 90,
    "entities_count": 47913,
    "world_seed": 31628006,
    "world_size": 3000,
    "steam_id": "90286604192198667",
    "domain": null,
    "id": 11502467,
    "ip": "66.51.96.52",
    "port": 28005,
    "query": 28006,
    "color": 0,
    "city": "Ashburn",
    "description": "![Artemis 2x Vanilla+ QUAD MAX (2x Gather-Rate) (VIP) (Added Recy](https://cdn.corenexis.com/files/c/8317719720.jpg)\nWelcome to Artemis 2X, we are the home of Rust players that can't put so many hours into the game. Our servers are designed for fun, small map gameplay, and small groups with certain offline protection.\r\nServer features\r\n>2x Gather Rate \r\n>Boosted loot in crates\r\n>Junk Removed\r\n>Quad Max (4 people only)\r\n>Added Recyclers (Fishing, Dome, Rigs, Cargo)\r\nDiscord Link: https://discord.gg/P5buhV8HFy",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780049022,
    "last_online": 1780608629,
    "icon": null,
    "name": "Artemis 2x Vanilla+ QUAD MAX (2x Gather-Rate) (VIP) (Added Recy",
    "connect": "66.51.96.52:28005",
    "request": "66.51.96.52:28006",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1779207201,
    "last_update": 1780608629,
    "banned": false,
    "wipe": 1780596471,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2091,
    "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/11502467");
$data = json_decode($json, true);
var_dump($data);