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

text
https://api.gamemonitoring.ru/servers/12874918
json
{
  "response": {
    "dedicated": true,
    "gametype": "BUILDID:0,OWNINGID:90289724420420623,OWNINGNAME:90289724420420623,SESSIONFLAGS:41",
    "os": "w",
    "product": "unrealdk",
    "region": -1,
    "steam_id": "90289724420420623",
    "domain": null,
    "id": 12874918,
    "ip": "153.66.113.221",
    "port": 7777,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Jackson",
    "description": null,
    "game": 1369670,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785212670,
    "last_online": 1785216000,
    "icon": null,
    "name": "90289724420420623",
    "connect": "153.66.113.221:7777",
    "request": "153.66.113.221:27015",
    "map": null,
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1785212670,
    "last_update": 1785216000,
    "ban_reason": null,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 317,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1564980,
      "steam_id": 1369670,
      "name": "Motor Town: Behind The Wheel",
      "url": "motor-town-behind-the-wheel"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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