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

text
https://api.gamemonitoring.ru/servers/446456
json
{
  "response": {
    "fps": 55,
    "fps_avg": 55,
    "entities_count": 172923,
    "world_seed": 1873545542,
    "world_size": 4600,
    "steam_id": "90284506212023319",
    "domain": null,
    "id": 446456,
    "ip": "192.223.30.71",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Chicago",
    "description": "![|US| Paradise Island |PvE|Vanilla|2x|NoRaid|NoDecay|](https://i.imgur.com/JHRF377.png)\nTestWelcome To The Paradise Island Vanilla Server. Designed For Vanilla Players Who Dislike PvP. All Styles Of Play Welcome, Within Our Rule Guidelines.\r\n  -- Monthly Wipe At Forced\r\n  -- PvE Map - No Raiding.\r\n  -- Vanilla Loot And Stacks.\r\n  -- Loot Protection Enabled.\r\n  -- Gathering Increaed to 2x\r\n  -- Shorter Nights.\r\n  -- Minimal Decay.\r\n \r\n Our Rules Are Set To Provide A Fun Environment\r\n  - Absolutely No Racism, Sexism, Trolling, Player/Staff Disrespect, Or Hate Speech\r\n  - Voice Or Chat Spamming Will Result in Mutes\r\n  - Scripts, Cheats, Use Of Exploits, Or Bots Will Result In A Perm Ban\r\n  - Griefing Other Players Is Prohibited\r\n  - A Full List Of Rules For Paradise Island Can Be Found On Discord.\r\n \r\n Server Is US East Based EST. GMT -5\r\n Questions, Comments, Concerns? Message Us On Discord!\r\n https://discord.gg/paradiseislandrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776063732,
    "score": null,
    "last_online": 1776394217,
    "icon": null,
    "name": "|US| Paradise Island |PvE|Vanilla|2x|NoRaid|NoDecay|",
    "connect": "192.223.30.71:28015",
    "request": "192.223.30.71:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 4,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1630779754,
    "last_update": 1776394217,
    "banned": false,
    "wipe": 1775153096,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1035,
    "language": "en",
    "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/446456");
$data = json_decode($json, true);
var_dump($data);