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

text
https://api.gamemonitoring.ru/servers/18959341
json
{
  "response": {
    "add_date": 1792876928,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "20.79.42.190:27004",
    "country": "DE",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18959341,
    "ip": "20.79.42.190",
    "language": "de",
    "last_update": 1793128714,
    "map": "Procedural Map",
    "maxplayers": 100,
    "name": "Rustoria.co - EU Long | JUST WIPED 27.10",
    "numplayers": 71,
    "official": null,
    "points": 90,
    "port": 27004,
    "private": false,
    "project_id": null,
    "pve": 0,
    "pvp": null,
    "query": 27004,
    "request": "20.79.42.190:27004",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "2635",
    "votes": 0,
    "wipe": 1793012942,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Франкфурт-на-Майне",
    "description": "![Rustoria.co - EU Long | JUST WIPED 27.10](https://fs.rustoria.co/dylan/0bc74c02-4265-47cd-8934-622ad6728c4d.png)\nWipe Schedule:\nMap - Monthly @ Force\nBPs - Monthly @ Force\n\nVIP: donate.rustoria.co\n\nRules:\n- No hacking / scripting\n- No intentional bug abuse\n- No EAC / FP banned alts\n- No ban evading\n- No racism\n\nGood performance\nActive non playing admins\nSeeds are carefully picked\n\nDiscord: rustoria.co/discord\nFull rules: rustoria.co/vanilla/rules",
    "disabled_modules": [],
    "gamemode": "Rust",
    "hidden": false,
    "last_offline": 1793012943,
    "last_online": 1793128714,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": 1795604942,
    "parked": false,
    "position_game": 384,
    "wipe_period": "monthly",
    "cp": "71",
    "fps": 200,
    "url": "http://rustoria.co",
    "hash": "d2086d84",
    "build": "62924",
    "gc_cl": "194",
    "gc_mb": "1968",
    "queue": "0",
    "Queued": "0",
    "fps_avg": 200,
    "players": "71",
    "map_name": "Procedural Map",
    "map_seed": 916192,
    "map_size": 4750,
    "MaxPlayers": "100",
    "listentype": "d",
    "environment": "l",
    "playerCount": "71",
    "a2s_protocol": 17,
    "queueplayers": 0,
    "entities_count": 17238,
    "players_complete": true
  }
}

Примеры кода

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