JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11759687
json
{
  "response": {
    "fps": 194,
    "fps_avg": 196,
    "entities_count": 44799,
    "world_seed": 416769875,
    "world_size": 3000,
    "steam_id": "90286740871539714",
    "domain": null,
    "id": 11759687,
    "ip": "71.208.196.79",
    "port": 28041,
    "query": 28043,
    "project_id": null,
    "color": 0,
    "city": "Cape Coral",
    "description": "![StonedFlorida420 2x PvE](https://stonedflorida.com/images/e32c62184337a74c.png)\nStonedFlorida420 2x \r\nChill vibes, half the grind!\r\n 2x Gather |  Fast Progression | Active Admins\r\n Noob Friendly |  Chill Community |  Smart Mods\r\nJoin the sesh and survive Florida-style stoned",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780931729,
    "last_online": 1780982436,
    "icon": null,
    "name": "StonedFlorida420 2x PvE",
    "connect": "71.208.196.79:28041",
    "request": "71.208.196.79:28043",
    "map": "StonedFlorida420 Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780931729,
    "last_update": 1780982436,
    "banned": false,
    "wipe": 1780615552,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6084,
    "language": "en",
    "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/11759687");
$data = json_decode($json, true);
var_dump($data);