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

text
https://api.gamemonitoring.ru/servers/10795769
json
{
  "response": {
    "add_date": 1766876001,
    "app": {
      "id": 1564980,
      "name": "Motor Town: Behind The Wheel",
      "steam_id": 1369670,
      "url": "motor-town-behind-the-wheel"
    },
    "color": 0,
    "connect": "193.200.229.133:25570",
    "country": "NO",
    "domain": null,
    "game": 1369670,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 10795769,
    "ip": "193.200.229.133",
    "language": "no",
    "last_update": 1794772569,
    "map": null,
    "maxplayers": 100,
    "name": "[NO] Fjell Hosting | Fires Enabled | Company Enabled | AI Enabled",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 25570,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 7778,
    "request": "193.200.229.133:7778",
    "secured": true,
    "status": true,
    "steam_id": "90297501187440658",
    "version": "0.7.20+T11",
    "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": 1793080842,
    "last_online": 1794772569,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 45,
    "wipe_period": null,
    "FPS_i": "0",
    "GDH_i": "1482473140",
    "GDVF_i": "31",
    "P2PADDR": "90297501187440658",
    "P2PPORT": "25570",
    "GDH_BT_i": "-1442870477",
    "GDH_VP_i": "1094580158",
    "CONMETHOD": "P2P",
    "GDH_CVar_i": "1320092651",
    "GDH_Item_i": "-1648917372",
    "OWNINGNAME": "90297501187440658",
    "listentype": "d",
    "GDH_Cargo_i": "473130786",
    "environment": "l",
    "MTGameType_i": "1",
    "SESSIONFLAGS": "553",
    "a2s_protocol": 17,
    "MTNumPlayers_i": "0",
    "MTServerGuid_s": "D7498AFD4893CB9C2B7D81874FDD5222",
    "players_complete": true,
    "AllowCorporation_b": "true",
    "AllowModdedVehicle_b": "false",
    "AllowCompanyAIDriver_b": "true",
    "MTServerPasswordRequired_b": "false",
    "AllowPoliceVehicleByPlayerRole_b": "false"
  }
}

Примеры кода

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