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

text
https://api.gamemonitoring.ru/servers/18641818
json
{
  "response": {
    "add_date": 1792352413,
    "app": {
      "id": 34967,
      "name": "Valheim",
      "steam_id": 892970,
      "url": "valheim"
    },
    "color": 0,
    "connect": "143.131.253.199:2456",
    "country": "ES",
    "domain": null,
    "game": 892970,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18641818,
    "ip": "143.131.253.199",
    "language": "es",
    "last_update": 1792621806,
    "map": "My Valheim Server - Powered by",
    "maxplayers": 10,
    "name": "My Valheim Server - Powered by AMP",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 2456,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 2457,
    "request": "143.131.253.199:2457",
    "secured": false,
    "status": true,
    "steam_id": "90295195882571798",
    "version": "1.0.20",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Carranque",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1792433144,
    "last_online": 1792621806,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 55864,
    "wipe_period": null,
    "os": "w",
    "region": -1,
    "product": "valheim",
    "gametype": "g=1.0.20,n=41,m=40\\=1_0:2_0:3_0:4_0:5_0",
    "dedicated": true
  }
}

Примеры кода

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