JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10290714
json
{
  "response": {
    "fps": 89,
    "fps_avg": 87,
    "entities_count": 146097,
    "world_seed": 121315421,
    "world_size": 6000,
    "steam_id": "90286588807835666",
    "domain": null,
    "id": 10290714,
    "ip": "185.189.255.115",
    "port": 35200,
    "query": 35210,
    "project_id": null,
    "color": 0,
    "city": "Moscow",
    "description": "![FURY ROAD x0.1|HARDCORE|RPG|NPC|](https://www.dropbox.com/scl/fi/sfxd25mzqn48xmnnby8c4/l6d5sEfETbU754Xep8Ng0h66k4Lj2Og1ZW8kpb4m.png?rlkey=bag9zccl2ka0cw7thzehz6rym&st=m6t1plof&dl=1)\nMAP 6000\r\n HARD CLIMATE\r\n HARDCORE MODE\r\n SKILL SYSTEM\r\n RESOURCE RATE ~0.1\r\n CUSTOM LOOT\r\n CUSTOM NPC\r\n CUSTOM MONUMENTS",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780959810,
    "last_online": 1780603230,
    "icon": null,
    "name": "FURY ROAD x0.1|HARDCORE|RPG|NPC|",
    "connect": "185.189.255.115:35200",
    "request": "185.189.255.115:35210",
    "map": "Fury Road by Zzzodchiy",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1757407124,
    "last_update": 1780959810,
    "banned": false,
    "wipe": 1780251036,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10481,
    "language": "ru",
    "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/10290714");
$data = json_decode($json, true);
var_dump($data);