JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/9706087
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 101052,
    "world_seed": 1000693544,
    "world_size": 4250,
    "steam_id": "90285675212764184",
    "domain": null,
    "id": 9706087,
    "ip": "103.73.64.252",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Sydney",
    "description": "![RustGalaxy Nexus Sydney](https://rustne.ws/wp-content/uploads/2025/06/rust-server-header-512x256-1.jpg)\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778531612,
    "score": 0,
    "last_online": 1778629818,
    "icon": null,
    "name": "RustGalaxy Nexus Sydney",
    "connect": "103.73.64.252:28015",
    "request": "103.73.64.252:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1751752664,
    "last_update": 1778629818,
    "banned": false,
    "wipe": 1778176487,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1710,
    "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/9706087");
$data = json_decode($json, true);
var_dump($data);