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

text
https://api.gamemonitoring.ru/servers/6946975
json
{
  "response": {
    "steam_id": "90284024040569885",
    "domain": null,
    "id": 6946975,
    "ip": "90.70.203.111",
    "port": 27017,
    "query": 27017,
    "color": 0,
    "city": "Paris",
    "description": null,
    "game": 224260,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772677940,
    "score": 0,
    "last_online": 1776210666,
    "icon": null,
    "name": "'-~ Pikouchu.com ~-   〓  -NMRiH CLASSIC-  〓   (o ^   ^ o)",
    "connect": "90.70.203.111:27017",
    "request": "90.70.203.111:27017",
    "map": "nmo_asylum",
    "gamemode": "No More Room in Hell",
    "version": "1.1.4.2",
    "numplayers": 0,
    "maxplayers": 9,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1734611008,
    "last_update": 1776210666,
    "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": 100,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 6,
      "steam_id": 224260,
      "name": "No More Room in Hell",
      "url": "no-more-room-in-hell"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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