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

text
https://api.gamemonitoring.ru/servers/18344108
json
{
  "response": {
    "add_date": 1792094425,
    "app": {
      "id": 34967,
      "name": "Valheim",
      "steam_id": 892970,
      "url": "valheim"
    },
    "color": 0,
    "connect": "86.135.67.83:2456",
    "country": "GB",
    "domain": null,
    "game": 892970,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18344108,
    "ip": "86.135.67.83",
    "language": "en",
    "last_update": 1794221736,
    "map": "Army of the 12 Monkeys  - Power",
    "maxplayers": 10,
    "name": "Army of the 12 Monkeys  - Powered by AMP",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 2456,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 2457,
    "request": "86.135.67.83:2457",
    "secured": false,
    "status": false,
    "steam_id": "90296244219441158",
    "version": "1.0.21",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Purley",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794221736,
    "last_online": 1793492881,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 59905,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "valheim",
    "gametype": "g=1.0.21,n=41,m=40\\=1_0:2_0:3_4:4_0:5_0\\,4\\=150",
    "dedicated": true
  }
}

Примеры кода

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