JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10896264
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 17293,
    "world_seed": 1234567,
    "world_size": 2000,
    "steam_id": "90283541126640643",
    "domain": null,
    "id": 10896264,
    "ip": "91.229.114.45",
    "port": 28095,
    "query": 28097,
    "color": 0,
    "city": "Chicago",
    "description": "![EXILE X100X Loot+|Shop|Kit|PvPArena|NoLimits|Bag+|TP|NoBPs|MyMi](https://i.postimg.cc/L4BhVrM3/overdrive-server-upgrade-banner.png)\nThe EXILE Experience 100x Gather & Smelt Loot+ \r\nTeleportation & Kits\r\nUnlootable Backpacks\r\nPowerless Turrets\r\n/colour for all (Customize your name color!)\r\n/loadout (Instant gear!)\r\nDiscord Kits & VIP Kits\r\nRaidable Bases\r\nDangerous Treasures\r\nPvP Arena\r\n/br (Base Repair), \r\n/up4, \r\n/bgrade\r\nRocket Launcher Magazines! & Many other fun and unique features\r\nActive Admins & 24/7 Uptime",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776813196,
    "score": 0,
    "last_online": 1776837023,
    "icon": null,
    "name": "Server hosted by Physgun.com",
    "connect": "91.229.114.45:28095",
    "request": "91.229.114.45:28097",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2622",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768383799,
    "last_update": 1776837023,
    "banned": false,
    "wipe": 1773711534,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4192,
    "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/10896264");
$data = json_decode($json, true);
var_dump($data);