Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9658260
json
{
  "response": {
    "steam_id": "85568392935352632",
    "domain": null,
    "id": 9658260,
    "ip": "95.213.255.158",
    "port": 27215,
    "query": 27215,
    "color": 0,
    "city": "Moscow",
    "description": "[\n    {\n        \"id\": \"G24bzz3Z4I\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"**https://evilproject.ru/ наш сайт **\"\n        }\n    },\n    {\n        \"id\": \"KPOGInv9D9\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"**https://discord.gg/xM2wEzYCYw) наш дискорд**\"\n        }\n    }\n]",
    "game": 730,
    "owner": 123572,
    "boosts": 1,
    "last_offline": 1777432396,
    "score": 0,
    "last_online": 1778785812,
    "icon": null,
    "name": "🔥 RANDOM SKILLS #3 | CRAZYPUB.SU | MOSCOW",
    "connect": "95.213.255.158:27215",
    "request": "95.213.255.158:27215",
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.6.0",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1751445886,
    "last_update": 1778785812,
    "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": 157,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "leontevala_66",
      "avatar": "no.jpg",
      "last_online": 1752022560
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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