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

text
https://api.gamemonitoring.ru/servers/11305146
json
{
  "response": {
    "fps": 101,
    "fps_avg": 112,
    "entities_count": 106762,
    "world_seed": 1,
    "world_size": 3500,
    "steam_id": "90286569096010773",
    "domain": null,
    "id": 11305146,
    "ip": "203.16.163.161",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![RustShowdown 3x | Solo/Duo |PvP / Scheduled Raids | FPS++](https://www.dropbox.com/scl/fi/qwrzqfe9dkdcff1fnbh7x/Server-header-image.jpeg?rlkey=31i36u1eow2295xdp8aubm3qp&st=qou90f2c&dl=1)\n♦ Welcome to the The RustShowdown Server ♦\r\n\r\n气亠═一 Server Feature's 气亠═一\r\n• Active Admins (Non-Playing)\r\n• Anti-Cheat System (AutoBan & Report)\r\n• AutoTurretAuth\r\n♦ PurgeNight (Tuesdays, Thursdays, Saturdays)\r\n• Raid Alarm via Rust+ App\r\n Radiation off (PurgeNight On)\r\n• Roaming NPCs (Realistic AI Behavior, Npc Players Devensive)\r\n• Events\r\n• Kits (Starter Kit Only)\r\n♦ Better NPCs\r\n• Gather Size 3x\r\n• Gather Stacks 5x-10x\r\n• Gather Stacks Resources 50x\r\n• PvP Arenas (CoD Maps, SquidGame and more)\r\n• Raid Protection (PurgeNight Off)\r\n• Ladder and Twigs other Bases Off (PurgeNight On)\r\n• Picklocks (They can always be used.)\r\n• Craft Panel",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779906753,
    "last_online": 1780557629,
    "icon": null,
    "name": "RustShowdown 3x | Solo/Duo |PvP / Scheduled Raids | FPS++",
    "connect": "203.16.163.161:28015",
    "request": "203.16.163.161:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592880,
    "last_update": 1780557629,
    "banned": false,
    "wipe": 1779626446,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4394,
    "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/11305146");
$data = json_decode($json, true);
var_dump($data);