JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/8054526
json
{
  "response": {
    "fps": 41,
    "fps_avg": 42,
    "entities_count": 174713,
    "world_seed": 845927578,
    "world_size": 4250,
    "steam_id": "90286554724929545",
    "domain": null,
    "id": 8054526,
    "ip": "66.11.229.3",
    "port": 28017,
    "query": 28015,
    "color": 0,
    "city": "Seattle",
    "description": "![I4ANI|5x|PVP|Skin|Scrap+|Levels|Smelt|Events|TP|Skills|Quarry+](http://i4ani.com/map/i4ani.header.jpg)\nGreetings & Welcome to Eye-for-an-Eye\nThis Server is a US English PVP Server\nThe Map Size is 4k\nMap and blueprints wipe monthly!\n\nOperated by non player admin and plugin developer\nHosted on a dedicated machine\n\nEvents: \nHeli Capture, Plane Crash, Farm Event, Gungame, Supply Drop Event\n\nServer Stats: FPS 41 | RAM: 15154MB | Entities: 174906 | Last Wipe: 5/7/26\n\nCustom Plugins: 198\nPaid Plugins: 3\nuMod Plugins: 57\nTotal Plugins: 258\n\n\nrs022tjaozJ[0%nJb000Gi",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780573465,
    "last_online": 1780572630,
    "icon": null,
    "name": "I4ANI|5x|PVP|Skin|Scrap+|Levels|Smelt|Events|TP|Skills|Quarry+",
    "connect": "66.11.229.3:28017",
    "request": "66.11.229.3:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 60,
    "add_date": 1741383949,
    "last_update": 1780573465,
    "banned": false,
    "wipe": 1778176549,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3030,
    "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/8054526");
$data = json_decode($json, true);
var_dump($data);