JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11004700
json
{
  "response": {
    "fps": 330,
    "fps_avg": 397,
    "entities_count": 50807,
    "world_seed": 1669559573,
    "world_size": 3000,
    "steam_id": "90286605258146842",
    "domain": null,
    "id": 11004700,
    "ip": "157.85.95.2",
    "port": 27585,
    "query": 27586,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![AMG  | TOGOMORI | ARAB | X2 | WEEKLY | THURSDAY | 04.06 wiped](https://wallpapers.com/images/hd/rust-friendly-bear-art-1e54zhoyyocay40m.jpg)\nFULLY CUSTOMIZED X2 \r\nACTIVE REAL ADMINS\r\nNO PAY TO WIN\r\nDLC & SKINS GIVE AWAYS\r\nPVP FOCUSED \r\nONLY THE RUTHLESS SURVIVE\r\nDiscord dm: @AM999\r\nMAX TEAM SIZE: 4",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596271,
    "last_online": 1780939231,
    "icon": null,
    "name": "AMG  | TOGOMORI | ARAB | X2 | WEEKLY | THURSDAY | 04.06 wiped",
    "connect": "157.85.95.2:27585",
    "request": "157.85.95.2:27586",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1769938969,
    "last_update": 1780939231,
    "banned": false,
    "wipe": 1780596320,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2130,
    "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/11004700");
$data = json_decode($json, true);
var_dump($data);