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

text
https://api.gamemonitoring.ru/servers/12327394
json
{
  "response": {
    "dedicated": true,
    "gametype": "pvp,cs10,hc,ded,dif_no",
    "os": "w",
    "product": "V Rising",
    "region": -1,
    "steam_id": "90289082978494471",
    "domain": null,
    "id": 12327394,
    "ip": "187.144.87.126",
    "port": 9876,
    "query": 9877,
    "project_id": null,
    "color": 0,
    "city": "Puerto Vallarta",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784155267,
    "last_online": 1784332302,
    "icon": null,
    "name": "Puerquitos",
    "connect": "187.144.87.126:9876",
    "request": "187.144.87.126:9877",
    "map": "VRisingWorld",
    "gamemode": "b7d8a194-b992-4e81-a2c0-f02e810adce0",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "MX",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1784155267,
    "last_update": 1784332302,
    "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": 3228,
    "language": "es",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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