JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/567098
json
{
  "response": {
    "fps": 84,
    "fps_avg": 76,
    "entities_count": 73699,
    "world_seed": 242716644,
    "world_size": 3500,
    "steam_id": "90286575889137676",
    "domain": null,
    "id": 567098,
    "ip": "185.189.255.173",
    "port": 28127,
    "query": 28125,
    "color": 0,
    "city": "Moscow",
    "description": "![[RU] RUSTCOLA #6 X5+ LOOT+ MAX 3| ВАЙП 16.12](https://i.imgur.com/nSYqSdw.jpg)Дорогой друг! Добро пожаловать на RustCola #6 X5, Max 3 (в команде) сервер!Последний вайп был 16.12.Следующий вайп будет 23.12 в 12:00 по мск (дня).+ Вайп Рецептов - раз в нед",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780054420,
    "last_online": 1780608034,
    "icon": null,
    "name": "[RU] RUSTCOLA #6 X5+ LOOT+ MAX 3| ВАЙП 29.05",
    "connect": "185.189.255.173:28127",
    "request": "185.189.255.173:28125",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1668889617,
    "last_update": 1780608034,
    "banned": false,
    "wipe": 1780053237,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2974,
    "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/567098");
$data = json_decode($json, true);
var_dump($data);