Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10856250
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10856250,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Tiraspol",
    "description": "[{\"id\":\"65KPb4ogvK\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер находится в ПМР. По вопросам писать в Дискорд - investiru\"}},{\"id\":\"YjZT8gpDsw\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер по вине движка CS2 может статерить если есть такая проблема, напишите в чат игры или напиши мне для быстрого ребута.\"}},{\"id\":\"hERFcHpGLn\",\"type\":\"paragraph\",\"data\":{\"text\":\"Cкины выключены в связи проблем с адаптации их к дистрибутиву Linux\"}},{\"id\":\"IrtvCzURRd\",\"type\":\"delimiter\",\"data\":{}},{\"id\":\"98nFp7vdZT\",\"type\":\"paragraph\",\"data\":{\"text\":\"The server is located in Transnistria. For questions, please contact us on Discord - investiru.\"}},{\"id\":\"Kd5-WdgNJH\",\"type\":\"paragraph\",\"data\":{\"text\":\"The server may be stuttering due to the CS2 engine. If you have this issue, please contact me in the game chat or contact for a quick reboot.\"}},{\"id\":\"d5mkaWvwLV\",\"type\":\"paragraph\",\"data\":{\"text\":\"Skins are disabled due to problems with adapting them to the Linux distribution.\"}}]",
    "game": 730,
    "owner": 151084,
    "boosts": 1,
    "last_offline": 1771135266,
    "score": 0,
    "last_online": 1770194412,
    "icon": null,
    "name": "[RU\\MD\\UA] Transnistria\\ПМР | Only de_mirage",
    "connect": null,
    "request": null,
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "MD",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768201035,
    "last_update": 1771135266,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12114,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "investiru",
      "avatar": "beb6ba38-47dc-4d6b-9f25-08f9f7a5d37c.jpg",
      "last_online": 1770016117
    },
    "mods": [
      {
        "id": 415,
        "name": "BunnyHop"
      },
      {
        "id": 416,
        "name": "Classic"
      }
    ],
    "disabled_modules": []
  }
}

Kod örnekleri

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