JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11510942
json
{
  "response": {
    "fps": 55,
    "fps_avg": 56,
    "entities_count": 88173,
    "world_seed": 1,
    "world_size": 4096,
    "steam_id": "90286619220794378",
    "domain": null,
    "id": 11510942,
    "ip": "134.255.225.105",
    "port": 27000,
    "query": 27002,
    "color": 0,
    "city": "Münster",
    "description": "![THE SIXTH REALM - x2,5  - PvE - PvP - Shop - Events[DE]](https://i.imgur.com/Ij2rbQC.png)\nWILLKOMMEN AUF THE SIXTH REALM Ein deutscher Rust Server mit einzigartigem Realm Konzept.  Server Features  2x Ressourcen  Klare PvE und PvP Zonen  Ausgewogenes Economy System  Sichere Startphase fuer neue Spieler  Regelmaessige Events und Herausforderungen  Custom Loot und Realm Belohnungen  Aktiver und fairer Admin Support  Stabile Performance  Wipe Informationen  Map Wipe alle 2 Wochen, Freitag 18 Uhr  Blueprint Wipe einmal pro Monat  Custom Map bleibt dauerhaft bestehen  Gameplay Erkunde sechs unterschiedliche Realms mit eigenen Regeln und Belohnungen. Baue deine Basis auf, handle im Shop und kaempfe um deinen Platz in der Geschichte.  powered by NoxtenGaming",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780611256,
    "last_online": 1780661613,
    "icon": null,
    "name": "THE SIXTH REALM - x2,5  - PvE - PvP - Shop - Events[DE]",
    "connect": "134.255.225.105:27000",
    "request": "134.255.225.105:27002",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 44,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353835,
    "last_update": 1780661613,
    "banned": false,
    "wipe": 1780611231,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4910,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11510942");
$data = json_decode($json, true);
var_dump($data);