JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/4533725
json
{
  "response": {
    "fps": 99,
    "fps_avg": 98,
    "entities_count": 67547,
    "world_seed": 1838373236,
    "world_size": 3500,
    "steam_id": "90286603934128132",
    "domain": null,
    "id": 4533725,
    "ip": "185.207.214.206",
    "port": 35055,
    "query": 35056,
    "color": 0,
    "city": "Moscow",
    "description": "![PARADISE RUST #2 [ X25 | NOLIMIT | KITS | CLANS | TP ]](https://gspics.org/images/2023/06/03/0ShRLs.png)\n-Вайп каждую неделю по вторникам в 15:00 по мск\n-Добыча ресурсов X25\n-Система кланов /clan\n-Скины /skin\n-Моментальный крафт\n-Миникоптер\n-Дискорд - https://discord.gg/gBP3CeZwfU\n-Магазин - https://paradise-store.gamestores.app",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595663,
    "last_online": 1780600829,
    "icon": null,
    "name": "PARADISE RUST #2 [ X25 | NOLIMIT | KITS | CLANS | TP ]",
    "connect": "185.207.214.206:35055",
    "request": "185.207.214.206:35056",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 11,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1717058968,
    "last_update": 1780600829,
    "banned": false,
    "wipe": 1780595839,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1743,
    "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/4533725");
$data = json_decode($json, true);
var_dump($data);