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

text
https://api.gamemonitoring.ru/servers/2739734
json
{
  "response": {
    "steam_id": "90281680820961285",
    "domain": null,
    "id": 2739734,
    "ip": "51.210.217.141",
    "port": 13300,
    "query": 27615,
    "color": 0,
    "city": "Strasbourg",
    "description": "",
    "game": 393430,
    "owner": null,
    "boosts": 1,
    "last_offline": 1771249897,
    "score": null,
    "last_online": 1776182411,
    "icon": null,
    "name": "Vanhat Tavat",
    "connect": "51.210.217.141:13300",
    "request": "51.210.217.141:27615",
    "map": "Level_West_Coast",
    "gamemode": "IceLakes",
    "version": "1.9.5",
    "numplayers": 22,
    "maxplayers": 64,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 104,
    "add_date": 1706268037,
    "last_update": 1776182411,
    "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": 1,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 7257,
      "steam_id": 393430,
      "name": "Ice Lakes",
      "url": "ice-lakes"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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