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

text
https://api.gamemonitoring.ru/servers/4240018
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 4240018,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": "",
    "game": 1604030,
    "owner": 93115,
    "boosts": 1,
    "last_offline": 1751026514,
    "last_online": 1748263251,
    "icon": null,
    "name": "Dodoland1",
    "connect": null,
    "request": null,
    "map": "VRisingWorld",
    "gamemode": "d005d9da-dfe5-496b-bcc7-c4cf2b806d33",
    "version": null,
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1715373046,
    "last_update": 1751026514,
    "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": 4482,
    "language": "de",
    "parked": true,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": {
      "username": "leticiaArg",
      "avatar": "bafa37f6-5311-429a-8565-c03cdb6ab100.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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