JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11606499
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 206925,
    "world_seed": 1337,
    "world_size": 6000,
    "steam_id": 90286271734574080,
    "domain": null,
    "id": 11606499,
    "ip": "149.224.200.46",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Hamburg",
    "description": "![Rust Infinity | Vanilla 2X | connect rustinfinity.com](https://www.rustinfinity.com/wp-content/uploads/2026/05/rust2.png)\nHigh-performance dedicated Rust server with vanilla gameplay and QoL tweaks. Smooth low-lag survival, fair PvP, active admins, 24/7 uptime & support.\r\n\r\nDon’t forget to favorite the server and join our Discord so you don’t lose track.\r\n\r\nYou can also use `connect rustinfinity.com` to direct connect if you can’t find the server or have any trouble.\r\n\r\n- Active admins\r\n- 24/7 uptime\r\n- Low-lag performance\r\n- Fair PvP\r\n- QoL improvements\r\n- Dedicated hardware\r\n- Friendly community\r\n- Fast support\r\n\r\nDiscord: https://discord.com/invite/HcEPwB2tVz",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780558418,
    "last_online": 1779950425,
    "icon": null,
    "name": "Rust Infinity | Vanilla 2X | connect rustinfinity.com",
    "connect": "149.224.200.46:28015",
    "request": "149.224.200.46:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 128,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779915472,
    "last_update": 1780558418,
    "banned": false,
    "wipe": 1779093016,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12138,
    "language": "de",
    "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/11606499");
$data = json_decode($json, true);
var_dump($data);