JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/6282005
json
{
  "response": {
    "fps": 87,
    "fps_avg": 85,
    "entities_count": 85756,
    "world_seed": 1337,
    "world_size": 4096,
    "steam_id": "90286226118582277",
    "domain": null,
    "id": 6282005,
    "ip": "164.152.123.222",
    "port": 28025,
    "query": 28027,
    "color": 0,
    "city": "Amsterdam",
    "description": "![[EU] BIKINI Island : The Unique PVE Survival](https://i.postimg.cc/GmVbJMrF/bikini-header.png)\nWelcome to BIKINI Island PVE Survival!\r\nEnglish & French community.\r\n\r\nExplore custom PVE maps, populated monuments and unique events.\r\nTalk to NPCs for quests, trade and progression.\r\nKits, vote rewards, and bank system for an easy start.\r\nZombie hordes, custom NPCs, but also a relaxed build-friendly environment.\r\nMonthly BP wipe, experience and money stay.\r\n\r\nFor more info, visit our website or hit Discord : discord.com/invite/DmEwvrrcps",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778976175,
    "last_online": 1779785420,
    "icon": null,
    "name": "[EU] BIKINI Island : The Unique PVE Survival",
    "connect": "164.152.123.222:28025",
    "request": "164.152.123.222:28027",
    "map": "Cataclysm",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1729463011,
    "last_update": 1779785420,
    "banned": false,
    "wipe": 1778220232,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2899,
    "language": "nl",
    "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/6282005");
$data = json_decode($json, true);
var_dump($data);