JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11488573
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11488573,
    "ip": "139.99.22.18",
    "port": 27873,
    "query": 27873,
    "color": 0,
    "city": "Singapore",
    "description": "[{\"id\":\"_OQcFTiXty\",\"type\":\"paragraph\",\"data\":{\"text\":\"Selamat datang di Alternative World. Dunia di mana setiap keputusan menentukan hidup atau mati. Kami menyajikan pengalaman murni HumanitZ tanpa modifikasi, hanya kamu, alam, dan ancaman yang tak pernah tidur.\\n\\nDifficulty: Hard\\nMod: No Mods (100% Vanilla)\\nMode: PVP/PVE Mixed\\nServer: Dedicated Singapore (Low Ping for Indo)\\n\\nJadilah penyintas sejati, bukan sekadar pelari. Bergabunglah dengan komunitas kami dan buktikan kamu bisa bertahan di dunia yang sudah hancur ini.\"}}]",
    "game": 1766060,
    "owner": 186379,
    "boosts": 1,
    "last_offline": 1775610579,
    "score": 5,
    "last_online": 1776435014,
    "icon": null,
    "name": "[IDN] ALTERNATIVE WORLD",
    "connect": "139.99.22.18:27873",
    "request": "139.99.22.18:27873",
    "map": "Main Map",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "SG",
    "status": true,
    "votes": 3,
    "points": 93,
    "add_date": 1775610579,
    "last_update": 1776435014,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9,
    "language": "id",
    "parked": false,
    "app": {
      "id": 1531516,
      "steam_id": 1766060,
      "name": "HumanitZ",
      "url": "humanitz"
    },
    "server_owner": {
      "username": "gurrez",
      "avatar": "66619d80-6b6a-44dc-b842-4a97ab567db1.jpg",
      "last_online": 1775662022
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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