JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11606316
json
{
  "response": {
    "fps": 139,
    "fps_avg": 165,
    "entities_count": 87865,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286602158432261",
    "domain": null,
    "id": 11606316,
    "ip": "57.128.211.192",
    "port": 28075,
    "query": 28077,
    "color": 0,
    "city": "Warsaw",
    "description": "![RustFront EU 2x | Vanilla+ - No P2W | JUST WIPED 19.00](https://rustfront.com/brand/rustfront-server-header.jpg)\n2x gather. Vanilla base loot + small RustFront bonus rolls. Larger stacks. Fast smelt. 2x crafting.\r\nCustom plugins continuously being built depending on player demands.\r\nBus Travel, Scrap Cases, and Bonus Loot.\r\nNo kits. No teleport. No homes. No pay-to-win.\r\nSupporter/VIP is queue skip only.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779977025,
    "last_online": 1780594238,
    "icon": null,
    "name": "RustFront EU 2x | Vanilla+ - No P2W | JUST WIPED 19.00",
    "connect": "57.128.211.192:28075",
    "request": "57.128.211.192:28077",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915467,
    "last_update": 1780594238,
    "banned": false,
    "wipe": 1780592548,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5070,
    "language": "pl",
    "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/11606316");
$data = json_decode($json, true);
var_dump($data);