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

text
https://api.gamemonitoring.ru/servers/4280900
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 4280900,
    "ip": "155.133.224.30",
    "port": 27032,
    "query": 27032,
    "color": 0,
    "city": "Bellevue",
    "description": "",
    "game": 500,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773693122,
    "score": 0,
    "last_online": 1776210639,
    "icon": null,
    "name": "Valve Left4Dead India West Server (srcds1001-bom2.382.18)",
    "connect": "155.133.224.30:27032",
    "request": "155.133.224.30:27032",
    "map": "l4d_hospital01_apartment",
    "gamemode": "L4D - Co-op - Easy",
    "version": "1.0.4.5",
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1715865502,
    "last_update": 1776210639,
    "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": 854,
    "language": "en",
    "parked": false,
    "app": {
      "id": 18,
      "steam_id": 500,
      "name": "Left 4 Dead",
      "url": "left-4-dead"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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