JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11511185
json
{
  "response": {
    "fps": 102,
    "fps_avg": 99,
    "entities_count": 86963,
    "world_seed": 2133830658,
    "world_size": 4000,
    "steam_id": "90286577118351362",
    "domain": null,
    "id": 11511185,
    "ip": "152.89.199.157",
    "port": 35015,
    "query": 35016,
    "color": 0,
    "city": "Moscow",
    "description": "![Классика x2 |BigBoyRust|Loot+|Event|](https://img.bigboyrust.ru/header.jpeg)\nДобро пожаловать на сервер Big Boy Rust \r\n Почувствуй себя Большим мальчиком \r\n - рейты х2 \r\n - увеличенный лут из ящиков и крейтов \r\n - увеличенные стаки \r\n - ускоренное плавление печей \r\n - стартовые наборы /kit\r\n И многое-многое другое ждёт тебя",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780538665,
    "last_online": 1780563629,
    "icon": null,
    "name": "Классика x2 |BigBoyRust|Loot+|Event|",
    "connect": "152.89.199.157:35015",
    "request": "152.89.199.157:35016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353839,
    "last_update": 1780563629,
    "banned": false,
    "wipe": 1780056018,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5149,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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