JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10896269
json
{
  "response": {
    "fps": 56,
    "fps_avg": 56,
    "entities_count": 36154,
    "world_seed": 1336783367,
    "world_size": 2750,
    "steam_id": "90286750311415811",
    "domain": null,
    "id": 10896269,
    "ip": "91.229.114.45",
    "port": 28035,
    "query": 28037,
    "project_id": null,
    "color": 0,
    "city": "Chicago",
    "description": "![Always small maps/Less Decay](https://www.dropbox.com/scl/fi/n6awufpd8c5xk5yo9tvj1/KndSuWMI-1.jpg?rlkey=4obqqn0itiuep82p6u6679gki&st=d2ot4isi&dl=1)\nWe get it! Sometimes the maps are just to large! \r\nWe always try to use maps no larger than 3200,\r\nThis map is 2750 in size\r\nSmooth servers with anti cheat tools installed\r\nRelax and have fun!!\r\nSlight mod this month,\r\nScrap and resource gathering adjustments\r\nStack size increase and Furnace speeds increased\r\nMy mini commands /mymini /fmini /nomini",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596862,
    "last_online": 1780953629,
    "icon": null,
    "name": "Always small maps/Less Decay",
    "connect": "91.229.114.45:28035",
    "request": "91.229.114.45:28037",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1768383800,
    "last_update": 1780953629,
    "banned": false,
    "wipe": 1780597100,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2593,
    "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/10896269");
$data = json_decode($json, true);
var_dump($data);