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

text
https://api.gamemonitoring.ru/servers/7965896
json
{
  "response": {
    "fps": 61,
    "fps_avg": 60,
    "entities_count": 109578,
    "world_seed": 549885681,
    "world_size": 4000,
    "steam_id": "90286554820554756",
    "domain": null,
    "id": 7965896,
    "ip": "156.236.84.207",
    "port": 28045,
    "query": 28047,
    "color": 0,
    "city": "City of London",
    "description": "![Rusthub.net | Solo/Duo | Monthly | No BP Wipes | WIPED 07/05](https://cdn.rhb.sh/banners/duo-branded.png)\nVisit rusthub.net to find out all about our servers and rules!\r\nMap wipes first Thursday of each month at 19:00 BST/20:00 CET\r\n\r\nFeatures:\r\n-Group Limit: 2\r\n-50% Upkeep\r\n-Map Size: 4000\r\n-Custom Outpost\r\n-Recyclers on all safezones\r\n-Minicopters spawn on roads\r\n-Turret Limit: 24\r\n-Active Non-Playing Admins\r\n\r\nRules:\r\n-No Safezone Griefing\r\n-No Mass Raiding\r\n-No cheating/exploiting\r\n-No EAC/FP banned alt accounts\r\n-No ban evading\r\n-No VPNs\r\n-No more than 2 steam bans\r\n\r\nDiscord: discord.gg/rusthub\r\nDaily restarts at 13:00 CET for better performance.\r\nMap Wipes can happen mid wipe on a 5 week wipe.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778176386,
    "last_online": 1780563220,
    "icon": null,
    "name": "Rusthub.net | Solo/Duo | Monthly | No BP Wipes | WIPED 07/05",
    "connect": "156.236.84.207:28045",
    "request": "156.236.84.207:28047",
    "map": "Rusthub Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1741000559,
    "last_update": 1780563220,
    "banned": false,
    "wipe": 1778176587,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1760,
    "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/7965896");
$data = json_decode($json, true);
var_dump($data);