JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/11305408
json
{
  "response": {
    "fps": 48,
    "fps_avg": 47,
    "entities_count": 368242,
    "world_seed": 1895460955,
    "world_size": 4500,
    "steam_id": "90284834882387969",
    "domain": null,
    "id": 11305408,
    "ip": "80.242.59.227",
    "port": 10000,
    "query": 10010,
    "color": 0,
    "city": "Veliky Novgorod",
    "description": "![Magic Rust #27 — Vanilla 2x (Long) | Pyccкий](https://content.magicrust.ru/images/server/server_banner_winter.png)\nВайп Карты: каждый первый четверг месяца в 21:00 МСК\r\nВайп Рецептов: каждые две недели (начиная с первого вайпа)\r\nМодерация 24/7: F7 чтобы отправить жалобу на игрока\r\n\r\nХарактеристики сервера:\r\nНет доната\\t|\\tУскоренный крафт\\t\\t|\\tПерерабы на нефтянках\r\nНет лагов\\t\\t|\\tБыстрый респавн лута\\t|\\tСтабильный онлайн\r\nРейты Х2\\t\\t|\\tУскоренный перераб\\t|\\tЛимит команды: Нет \r\n\r\nИнформация:\r\nOur Discord: https://discord.gg/magicrust\r\nOur Store: https://magicrust.gg",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776042710,
    "score": 0,
    "last_online": 1776942614,
    "icon": null,
    "name": "Magic Rust #27 — Vanilla 2x (Long) | Pyccкий",
    "connect": "80.242.59.227:10000",
    "request": "80.242.59.227:10010",
    "map": "ДЛЯ CЛAБЫX ПK",
    "gamemode": "VANILLA 2X",
    "version": "2623",
    "numplayers": 130,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 85,
    "add_date": 1774592885,
    "last_update": 1776942614,
    "banned": false,
    "wipe": 1775152383,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 325,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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