JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/506228
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 506228,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![$28.08 RUSTY LIFE #1 [MAX 3 | X5/X10 | CUSTOM] WIPE](https://i.imgur.com/XBIxOBI.png)\n• Рейты Х5/Х10\n• Лимит игроков в команде - 3\n• Улучшенный лут\n• Киты\n• Ремув\n• РТ без карточек\n• Постройки из МВК не гниют\n\nВайп карты каждый понедельник в 14:00 по МСК\nВайп чертежей каждый четверг в 14:00 по МСК\n\n------------------------------------\n**VK:** [https://vk.com/rusty_life](https://vk.cc/5kd7pn)\n**Discord:** https://discord.gg/5AUbU8qvGF\n**Shop:** https://rustylifes.com/\n------------------------------------",
    "game": 252490,
    "owner": 43031,
    "boosts": 1,
    "last_offline": 1760766806,
    "last_online": 1758132018,
    "icon": null,
    "name": "11.09 RUSTY LIFE #1 [MAX 3 | X5/X10 | CUSTOM] GLOBALWIPE",
    "connect": null,
    "request": null,
    "map": "discord.gg/rustylife",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1640817009,
    "last_update": 1760766806,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11050,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Server",
      "avatar": "dbbea020-7a5c-4fc9-a44f-c2a315989d0c.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/506228");
$data = json_decode($json, true);
var_dump($data);