JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11159108
json
{
  "response": {
    "fps": 94,
    "fps_avg": 92,
    "entities_count": 98566,
    "world_seed": 845755482,
    "world_size": 4250,
    "steam_id": "90285936247497749",
    "domain": null,
    "id": 11159108,
    "ip": "5.226.141.67",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "City of London",
    "description": "![Haven & Havoc UK - PvPvE - NO KOS - Noob friendly - Beginner - ](https://www.dropbox.com/scl/fi/iyrfrbz0a1vph9jrtp1wl/headerimagefull.png?rlkey=5y7qa8mb5j4jlzldta1x6wdrt&st=am5bk65x&dl=1)\nWelcome To Haven & Havoc, Established in 2017, Reborn in 2026, Going back to its roots.\r\n*UPDATED 07-05-2026*\r\n*FULLY WIPED 07-05-2026*\r\n*NEXT WIPE (MAP) 22-05-2026*\r\n\r\n Haven & Havoc is regarded a casual and relaxed server that caters for all players skills.\r\n\r\n Semi-Active Admin\r\n\r\nOn spawning the rules will be shown and must me accepted to play after this the  server rules can be viewed either by typing /info in-game in the global chat box or by viewing our discord server under #game-rules\r\n\r\nFailure to adhere to the rule-set while playing WILL result in action being taken.\r\n\r\nThank you for playing and we hope you enjoy your stay.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778235185,
    "last_online": 1779204019,
    "icon": null,
    "name": "Haven & Havoc UK - PvPvE - NO KOS - Noob friendly - Beginner -",
    "connect": "5.226.141.67:28080",
    "request": "5.226.141.67:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2624",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228123,
    "last_update": 1779204019,
    "banned": false,
    "wipe": 1778235108,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4173,
    "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/11159108");
$data = json_decode($json, true);
var_dump($data);