JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/360416
json
{
  "response": {
    "fps": 94,
    "fps_avg": 86,
    "entities_count": 146634,
    "world_seed": 7587634,
    "world_size": 4500,
    "steam_id": "90286621220744222",
    "domain": null,
    "id": 360416,
    "ip": "185.189.255.63",
    "port": 35300,
    "query": 35310,
    "project_id": null,
    "color": 0,
    "city": "Moscow",
    "description": "![. : : RUST-DAYS : PVE : RPG | NPC | ZOMBIE : : .](https://pic.shturval.by/images/2024/05/03/6UMFcMu.jpg)\nСтаки 50k (в шкафу 950k) / Рейты x1-x50 / Крафт RPG\r\n- - - - - - - - - - - -\r\nВ игре присутствуют дикие ученые и зомби. Будьте бдительны!\r\n- - - - - - - - - - - -\r\nRUST-DAYS : PVE (s1.rust-days.ru:35300)\r\n- - - - - - - - - - - -\r\nВайп - первый четверг месяца (Global)\r\n- Наш сайт: https://rust-days.ru\r\n- Веб-шоп: https://shop.rust-days.ru\r\n- Телеграм: https://t.me/rustdays\r\n- Группа ВК: https://vk.com/rustdays",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780638859,
    "last_online": 1780675831,
    "icon": null,
    "name": ". : : RUST-DAYS : PVE : RPG | NPC | ZOMBIE : : .",
    "connect": "185.189.255.63:35300",
    "request": "185.189.255.63:35310",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 35,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1597663469,
    "last_update": 1780675831,
    "banned": false,
    "wipe": 1778254863,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3168,
    "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/360416");
$data = json_decode($json, true);
var_dump($data);