JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11500991
json
{
  "response": {
    "fps": 174,
    "fps_avg": 131,
    "entities_count": 118427,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286355475530755",
    "domain": null,
    "id": 11500991,
    "ip": "5.9.36.114",
    "port": 27025,
    "query": 27026,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[EU] Wave of Deep Sea](https://ik.imagekit.io/t99ezuq4e/Rust%20heli%20and%20tank%20c1024.png?updatedAt=1774011506715)\nWelcome to [EU] Wave of Deep Sea Server\r\n\r\nperformance info\r\nProcessor : AMD Ryzen 9 7950X3D - 16c/32t\r\nFrequency : 5.7 GHz\r\nRAM : 128 GB DDR5 ECC\r\nStorage : NVMe SSD\r\n\r\nmap Wolf Base II \r\nNow with Heli Tower´s on map \r\n\r\nRules \r\n\r\nDon't kill \r\n\r\nDon't destroy Buildings \r\n\r\nDon't steal \r\n\r\nIf you do any of this , you will be kicked and banned. \r\n\r\nIf you see a problem or meet a problem whit another people, contact admin \r\n\r\nHave fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780570417,
    "last_online": 1780124422,
    "icon": null,
    "name": "www.nexus-games.com",
    "connect": "5.9.36.114:27025",
    "request": "5.9.36.114:27026",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207166,
    "last_update": 1780570417,
    "banned": false,
    "wipe": 1779962830,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11108,
    "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/11500991");
$data = json_decode($json, true);
var_dump($data);