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

text
https://api.gamemonitoring.ru/servers/6191919
json
{
  "response": {
    "steam_id": null,
    "domain": "m.mr-raccoon.net",
    "id": 6191919,
    "ip": "213.184.227.248",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Minsk",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772574731,
    "score": 0,
    "last_online": 1776094847,
    "icon": null,
    "name": "-=FSG-MINECRAFT |GAG| Server =- VANILLA, SURVIVAL, PVP, PVE, NO DONATE",
    "connect": "m.mr-raccoon.net:25565",
    "request": "213.184.227.248:25565",
    "map": null,
    "gamemode": null,
    "version": "Paper 1.20.4",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "BY",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1728261036,
    "last_update": 1776094847,
    "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": 2551,
    "language": "be",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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