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

text
https://api.gamemonitoring.ru/servers/20096675
json
{
  "response": {
    "add_date": 1794620755,
    "app": {
      "id": 1564980,
      "name": "Motor Town: Behind The Wheel",
      "steam_id": 1369670,
      "url": "motor-town-behind-the-wheel"
    },
    "color": 0,
    "connect": "77.181.161.104:7777",
    "country": "DE",
    "domain": null,
    "game": 1369670,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20096675,
    "ip": "77.181.161.104",
    "language": "de",
    "last_update": 1794785165,
    "map": null,
    "maxplayers": 100,
    "name": "FlippyMotorTown",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 7777,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "77.181.161.104:27015",
    "secured": true,
    "status": false,
    "steam_id": "90285952912369669",
    "version": "0.7.18+1",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Франкфурт-на-Майне",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Unreal Test!",
    "hidden": false,
    "last_offline": 1794785165,
    "last_online": 1794706570,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 460,
    "wipe_period": null,
    "FPS_i": "46",
    "GDH_i": "1896740925",
    "GDVF_i": "31",
    "P2PADDR": "90285952912369669",
    "P2PPORT": "7777",
    "GDH_BT_i": "922577932",
    "GDH_VP_i": "-1245833015",
    "CONMETHOD": "P2P",
    "GDH_CVar_i": "-898336397",
    "GDH_Item_i": "-973150657",
    "OWNINGNAME": "90285952912369669",
    "listentype": "d",
    "GDH_Cargo_i": "-1575753283",
    "environment": "w",
    "MTGameType_i": "1",
    "SESSIONFLAGS": "41",
    "a2s_protocol": 17,
    "MTNumPlayers_i": "0",
    "MTServerGuid_s": "56AE391541FC9E18C5B39D8CA0C50AFE",
    "players_complete": true,
    "AllowCorporation_b": "true",
    "AllowModdedVehicle_b": "true",
    "AllowCompanyAIDriver_b": "true",
    "MTServerPasswordHash_s": "8ACCE16CB3684B4EB6259F3622DE02B899D6370B2034C8FED49589212A794DB83EC66170B48C1EDEE863CC1D06EB3F22",
    "AllowPoliceVehicleByPlayerRole_b": "false"
  }
}

Примеры кода

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