JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/2501713
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 2501713,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![gm.link/u43598 26.8 TSK RUST | X2 | NOLIMIT [RU]](https://i.postimg.cc/BnJgr46Y/image-76-1.png)\nПоследний вайп: 26.8 Добро пожаловать! \r\n На нашем сервере вы найдете много всего интересного: \r\n • Рейты Х2 \r\n • Множество интересных плагинов \r\n • Отзывчивая администрация \r\n • Частые бонусы и промокоды \r\n \r\n • Вайпы каждый четверг в 14:00 по МСК \r\n \r\n Магазин https://tskrustam.gamestores.app \r\n Дискорд https://discord.gg/TBvdEcAaaF \r\n ВК https://vk.com/tskrustma",
    "game": 252490,
    "owner": 43598,
    "boosts": 1,
    "last_offline": 1766037058,
    "last_online": 1765141212,
    "icon": null,
    "name": "INFINITY RUST | X5 | WIPE 21.11 | NOLIMIT | LOOT+",
    "connect": null,
    "request": null,
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1705488519,
    "last_update": 1766037058,
    "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": 12929,
    "language": "de",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "xlebikz",
      "avatar": "b272e4a2-3b0d-4547-942f-ebb5abfca57a.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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