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

text
https://api.gamemonitoring.ru/servers/10870361
json
{
  "response": {
    "fps": 118,
    "fps_avg": 109,
    "entities_count": 355063,
    "world_seed": 354951279,
    "world_size": 4250,
    "steam_id": "90284792090089498",
    "domain": null,
    "id": 10870361,
    "ip": "145.239.149.163",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Saarbrücken",
    "description": "![[EU] Griefer Grave PvE - Vanilla - No BP Wipe](https://griefergrave.com/img/ServerLogoMonthly7.png)\nDedicated to PvE Since May 2023!\r\n\r\nBeginners are welcome, learn how to play Rust in a peaceful environment. To see our SERVER RULES/DISCORD, click VIEW WEBPAGE! Do not steal, do not raid players bases and do not kill players outside of Oil Rigs.\r\n\r\n- Vanilla PvE\r\n- PvP allowed on Oil Rigs & between team members\r\n- Upkeep is reduced\r\n- Vehicle & horse decay is reduced\r\n- Minicopters spawn on roads\r\n- Last day purge\r\n- Active admins\r\n- VPNs allowed on request\r\n\r\nPowerful server & DDoS protection\r\nPlayer Hub at https://grave.gg",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776822797,
    "score": 0,
    "last_online": 1776825617,
    "icon": null,
    "name": "[EU] Griefer Grave PvE - Vanilla - No BP Wipe",
    "connect": "145.239.149.163:28015",
    "request": "145.239.149.163:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 6,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1768318407,
    "last_update": 1776825617,
    "banned": false,
    "wipe": 1775151902,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1038,
    "language": "de",
    "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/10870361");
$data = json_decode($json, true);
var_dump($data);