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

text
https://api.gamemonitoring.ru/servers/1876520
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1876520,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": "",
    "game": 70,
    "owner": 49437,
    "boosts": 1,
    "last_offline": 1750457066,
    "last_online": 1738246236,
    "icon": null,
    "name": "HLDM <3 Crossfire only",
    "connect": null,
    "request": null,
    "map": "crossfire",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1700408260,
    "last_update": 1750457066,
    "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": 465,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 9,
      "steam_id": 70,
      "name": "Half-Life",
      "url": "half-life"
    },
    "server_owner": {
      "username": "olegsvs",
      "avatar": "b06aa9bd-d445-4248-a663-f8d573e48b5a.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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