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

text
https://api.gamemonitoring.ru/servers/10645375
json
{
  "response": {
    "steam_id": "90284104217144332",
    "domain": null,
    "id": 10645375,
    "ip": "134.255.208.87",
    "port": 10640,
    "query": 10641,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 270880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775674928,
    "score": 0,
    "last_online": 1776035319,
    "icon": null,
    "name": "!*RuhrPott 24/7 10-Mods Willkommen*!",
    "connect": "134.255.208.87:10640",
    "request": "134.255.208.87:10641",
    "map": "usa",
    "gamemode": "Optionale Mod Aktiv-Auto Download WORKSHOP",
    "version": null,
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1763717807,
    "last_update": 1776035319,
    "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": 266,
    "language": "de",
    "parked": false,
    "app": {
      "id": 2949,
      "steam_id": 270880,
      "name": "American Truck Simulator",
      "url": "american-truck-simulator"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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