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

text
https://api.gamemonitoring.ru/servers/3037116
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 3037116,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "Вайп сервера 01.03.2024Сервер новый! заходите играйте с друзьями! сервер будет становится лучше! The map will be updated on 03/01/2024The server is new! Come and play with your friends! The server will be getting better!",
    "game": 252490,
    "owner": 52902,
    "boosts": 1,
    "last_offline": 1750457067,
    "last_online": 1710363657,
    "icon": null,
    "name": "RUST LAIR X2 | NO RESTRICTIONS | 08.03",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1708102724,
    "last_update": 1750457067,
    "banned": false,
    "wipe": 1709870760,
    "official": null,
    "wipe_period": "weekly",
    "next_wipe": 1710475560,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13140,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Ilya22_bober",
      "avatar": "3bb1b853-e7a2-4fd2-b4f0-e811cdba3266.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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