Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9500707
json
{
  "response": {
    "fps": 116,
    "fps_avg": 116,
    "entities_count": 111266,
    "world_seed": 1337,
    "world_size": 4250,
    "steam_id": "90285144472269833",
    "domain": "rust.incunt.ru",
    "id": 9500707,
    "ip": "46.37.128.80",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Vladivostok",
    "description": "[{\"id\":\"d2lt3va5l\",\"type\":\"image\",\"data\":{\"caption\":\"Incunt.ru - SEA Main\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://images2.imgbox.com/63/95/O8GVuiMk_o.png\"}}},{\"id\":\"1asgfhzpr\",\"type\":\"paragraph\",\"data\":{\"text\":\"Расписание вайпов:\\n\"}},{\"id\":\"mpfixc9vo\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"items\":[\"Карта: Еженедельно по пятницам (11:00 МСК, 18:00 ВДК)\\n\",\"Чертежи: Ежемесячно\\n\"]}},{\"id\":\"beh2zofqp\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nVK: incunt.ru/vk\\n\\nDiscord: incunt.ru/discord\\n\\nTelegram: incunt.ru/telegram\\n\\n\\n\\nО сервере:\\n\"}},{\"id\":\"hgjxwv83d\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"items\":[\"Можно приятно провести время\\n\",\"Похож на официальные сервера\\n\",\"Высокопроизводительная серверная платформа\\n\",\"Стабильная работа сервера 24/7\\n\",\"Нет доната, дающего преимущество\\n\"]}},{\"id\":\"moljcvc0h\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nWipe Schedule:\\n\"}},{\"id\":\"7r3l4xnvz\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"items\":[\"Map: Weekly on Fridays @ 4PM Asia/Singapore or Force\\n\",\"BPs: Monthly @ Force\\n\"]}},{\"id\":\"1w5mfr3om\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nResume:\\n\"}},{\"id\":\"ujwun3mys\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"items\":[\"Have a good time\\n\",\"Similar to official servers\\n\",\"High-performance server platform\\n\",\"Stable server operation 24/7\\n\",\"No donate, No pay to win\"]}}]",
    "game": 252490,
    "owner": 122402,
    "boosts": 1,
    "last_offline": 1777017792,
    "score": 0,
    "last_online": 1777584014,
    "icon": null,
    "name": "INCUNT.RU - КЛАССИКА X2",
    "connect": "rust.incunt.ru:28015",
    "request": "46.37.128.80:28016",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1749407750,
    "last_update": 1777584014,
    "banned": false,
    "wipe": 1777017799,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 364,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "of_lex",
      "avatar": "no.jpg",
      "last_online": 1753600884
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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