Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/205129
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 205129,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Yekaterinburg",
    "description": "[{\"id\":\"f3jc-vSJIT\",\"type\":\"paragraph\",\"data\":{\"text\":\"Добро пожаловать на проект REBELS!\"}},{\"id\":\"5lQqOMoJTW\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш сайт: reb-ss.ru\"}},{\"id\":\"61wBK6VEdf\",\"type\":\"paragraph\",\"data\":{\"text\":\"Группа ВК: vk.com/reb_ss\"}},{\"id\":\"DLINtl8gim\",\"type\":\"paragraph\",\"data\":{\"text\":\"Discord: discord.gg/fUdDQz6ec3\"}},{\"id\":\"7biTQZUfpk\",\"type\":\"paragraph\",\"data\":{\"text\":\"У нас вы встретите уютную атмосферу, стабильный онлайн и отзывчивую администрацию.\"}},{\"id\":\"rxuweFgIBZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Приятной игры!\"}}]",
    "game": 730,
    "owner": 71849,
    "boosts": 1,
    "last_offline": 1772862707,
    "score": null,
    "last_online": 1771935611,
    "icon": null,
    "name": "REBELS | AWP LEGO ONLY | !SKINS !VIP !LVL",
    "connect": null,
    "request": null,
    "map": "awp_lego_2",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1582269587,
    "last_update": 1772862707,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 15497,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "yabaldeu",
      "avatar": "no.jpg",
      "last_online": 1752169276
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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