प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/10870592
json
{
  "response": {
    "fps": 71,
    "fps_avg": 79,
    "entities_count": 132075,
    "world_seed": 1167876542,
    "world_size": 4800,
    "steam_id": "90286579542103071",
    "domain": null,
    "id": 10870592,
    "ip": "152.89.199.58",
    "port": 35500,
    "query": 35510,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"LUuK61ME3O\",\"type\":\"paragraph\",\"data\":{\"text\":\"ДОБРО ПОЖАЛОВАТЬ!\\n Это PVE сервер с элементами PVP!!!\\n Рейты днем Х2, ночью Х4.\\n ВНИМАНИЕ! ВКЛЮЧЕН УРОН ПО ЯЩИКУ И ДВЕРЯМ (НЕ ВСЕМ ДВЕРЯМ)\\n Судный день - сервер переводится в режим полного PVP за сутки перед вайпом!\\n Система телепортов\\n КИТЫ - /KIT\\n EVENTS\\n Выживайте в сражении с окружающим миром \\n Всем добра и УДАЧИ!!!\"}},{\"id\":\"6zQchMpJTO\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/1e545418-24c2-49c9-9942-6cdb24939ab1.jpg\"}}}]",
    "game": 252490,
    "owner": 161273,
    "boosts": 1,
    "last_offline": 1780208027,
    "last_online": 1780573220,
    "icon": null,
    "name": "#2 [PVE] РУССКИЙ МЕДВЕДЬ X1-X5|Судный де�",
    "connect": "152.89.199.58:35500",
    "request": "152.89.199.58:35510",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1768318446,
    "last_update": 1780573220,
    "banned": false,
    "wipe": 1779465863,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 280,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "b_boy_poleno",
      "avatar": "no.jpg"
    },
    "mods": [
      {
        "id": 979,
        "name": "Kits"
      },
      {
        "id": 926,
        "name": "IQChat"
      },
      {
        "id": 1431,
        "name": "Teleportation"
      },
      {
        "id": 1571,
        "name": "XRate"
      },
      {
        "id": 644,
        "name": "Convoy"
      },
      {
        "id": 1389,
        "name": "Stacks"
      },
      {
        "id": 452,
        "name": "Admin Radar"
      },
      {
        "id": 942,
        "name": "IQMenu"
      }
    ],
    "disabled_modules": []
  }
}

कोड उदाहरण

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