JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11095769
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 89889,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286604442174470",
    "domain": null,
    "id": 11095769,
    "ip": "103.193.80.142",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Sydney",
    "description": "![[AU] Rito 3x • Quad • Raid Bases • Events • Kits & More](https://i.postimg.cc/nzrJbPjx/Chat-GPT-Image-Apr-2-2026-07-39-43-PM.png)\nWELCOME TO OUR 3X SERVER\r\n\r\nRATES\r\n• 3X GATHER\r\n\r\nRAID / PVP\r\n• ANTI-CHEAT\r\n• RAIDABLE BASES\r\n• EVENTS\r\n• SKIP NIGHT\r\n• TRADE\r\n• STATS / LEADERBOARDS\r\n\r\nQOL\r\n• TP + OUTPOST\r\n• SETHOME\r\n• KITS\r\n• BACKPACK (OVERFLOW)\r\n• BOX SORTER\r\n• FASTER CRAFT\r\n• AUTO SPLITTER\r\n• FAST SMELT\r\n• AUTO BARRELS + PICKUP\r\n• BP SHARE\r\n• FRIENDLY FIRE\r\n• REMOVAL TOOL\r\n• CUSTOM LOOT + STACKS\r\n• MINI + BUY\r\n• AUTO AUTH\r\n• CUSTOM MAPS\r\n• FASTER MIXING TABLE\r\n\r\n• AND MANY MORE.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780641204,
    "last_online": 1780604431,
    "icon": null,
    "name": "[AU] Rito 3x • Quad • Raid Bases • Events • Kits & More",
    "connect": "103.193.80.142:28015",
    "request": "103.193.80.142:28017",
    "map": "Wipes Fridays 12pm",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770028161,
    "last_update": 1780641204,
    "banned": false,
    "wipe": 1780597051,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10161,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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