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

text
https://api.gamemonitoring.ru/servers/9571018
json
{
  "response": {
    "steam_id": "85568392930479565",
    "domain": null,
    "id": 9571018,
    "ip": "51.83.8.85",
    "port": 28300,
    "query": 28302,
    "color": 0,
    "city": "Roubaix",
    "description": null,
    "game": 581320,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773466931,
    "score": 0,
    "last_online": 1776399099,
    "icon": null,
    "name": "=.KoG.= Hit me Harder Please|BOTS +84| kog-clan.com",
    "connect": "51.83.8.85:28300",
    "request": "51.83.8.85:28302",
    "map": "Prison",
    "gamemode": "Checkpoint",
    "version": "1.1.0.0",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1750596362,
    "last_update": 1776399099,
    "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": 177,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 23489,
      "steam_id": 581320,
      "name": "Insurgency: Sandstorm",
      "url": "insurgency-sandstorm"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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