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

text
https://api.gamemonitoring.ru/servers/13964120
json
{
  "response": {
    "id": 13964120,
    "mods": [],
    "flags": 1,
    "region": "EU",
    "visible": true,
    "battlEye": true,
    "favorite": false,
    "hostType": "CommunityDs",
    "joinable": true,
    "joinQueue": null,
    "sessionId": "e80ec436-0000ae7a833e",
    "pingSiteId": "frankfurt",
    "scenarioId": "{33FEAA1AF3A99AF2}Missions/GM_Zarichne.conf",
    "lastJoinedAt": null,
    "platformName": "Windows",
    "runtimeStats": {
      "fps": 120,
      "memory": 846165
    },
    "directJoinCode": "0243471580",
    "detailsUpdatedAt": 1787308169,
    "hostedScenarioModId": "61732D4F7D980E9A",
    "supportedGameClientTypes": [
      "PLATFORM_PC",
      "PLATFORM_XBL",
      "PLATFORM_PSN"
    ],
    "steam_id": null,
    "domain": null,
    "ip": "46.251.243.217",
    "port": 11200,
    "query": 11200,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 1874880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1787346694,
    "last_online": 1787349666,
    "icon": null,
    "name": "Deadside 2.0 GM Zarichne",
    "connect": "46.251.243.217:11200",
    "request": "46.251.243.217:11200",
    "map": "Game Master - Zarichne",
    "gamemode": null,
    "version": "1.8.0.10",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1787308377,
    "last_update": 1787349666,
    "ban_reason": null,
    "banned": false,
    "wipe": null,
    "official": false,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4666,
    "language": "de",
    "parked": false,
    "app": {
      "id": 55076,
      "steam_id": 1874880,
      "name": "Arma Reforger",
      "url": "arma-reforger"
    },
    "server_owner": null,
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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