JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677455
json
{
  "response": {
    "fps": 105,
    "fps_avg": 103,
    "entities_count": 105896,
    "world_seed": 1072156082,
    "world_size": 4500,
    "steam_id": "90286605591058458",
    "domain": null,
    "id": 11677455,
    "ip": "50.40.122.91",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Bloomington",
    "description": "![Poon Plowers | Monthly | Vanilla | No BP wipe](https://i.imgur.com/sYqOhb6.jpeg)\n!discord https://discord.gg/csSc3uJKju \r\n!wipe Map Wipe first Thursday of the month Last BP wipe 05/2026 \r\n4.5k map size\r\nNo BP wipe unless forced\r\nMini's Spawn on road\r\nNo Racism you will be banned without warning\r\nNo VAC/Game bans in the last year | 2 or more not allowed",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600465,
    "last_online": 1780602631,
    "icon": null,
    "name": "Poon Plowers | Monthly | Vanilla | No BP wipe",
    "connect": "50.40.122.91:28015",
    "request": "50.40.122.91:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1780216210,
    "last_update": 1780602631,
    "banned": false,
    "wipe": 1780596183,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2600,
    "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/11677455");
$data = json_decode($json, true);
var_dump($data);