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

text
https://api.gamemonitoring.ru/servers/11770246
json
{
  "response": {
    "add_date": 1780996719,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "87.79.72.249:7793",
    "country": "DE",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11770246,
    "ip": "87.79.72.249",
    "language": "de",
    "last_update": 1794757545,
    "map": "Aquatica",
    "maxplayers": 20,
    "name": "Bambus--09--Cluster-Mods--S+--S.R.S.--AWESpy",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 7793,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27031,
    "request": "87.79.72.249:27031",
    "secured": false,
    "status": false,
    "steam_id": "90296855725298688",
    "version": "361.7",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Кёльн",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_C",
    "hidden": false,
    "last_offline": 1794757545,
    "last_online": 1794092351,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 6909,
    "wipe_period": null,
    "MOD0_s": "731604991:E3E2E41644CFFFCC8E42AA8B8D748948",
    "MOD1_s": "772235118:A3EDB370449FF271B423739BF7C8C590",
    "MOD2_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "ModId_l": "0",
    "P2PADDR": "90296855725298688",
    "P2PPORT": "7793",
    "LEGACY_i": "0",
    "DayTime_s": "6077",
    "OWNINGNAME": "90296855725298688",
    "listentype": "d",
    "ClusterId_s": "202811",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1195",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "20",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "bambus--09--cluster-mods--s+--s.r.s.--awespy",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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