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

text
https://api.gamemonitoring.ru/servers/14608151
json
{
  "response": {
    "add_date": 1788554529,
    "app": {
      "id": 147,
      "name": "Don't Starve Together",
      "steam_id": 322330,
      "url": "dont-starve-together"
    },
    "color": 0,
    "connect": "124.223.8.206:10999",
    "country": "CN",
    "domain": null,
    "game": 322330,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 14608151,
    "ip": "124.223.8.206",
    "language": null,
    "last_update": 1790400738,
    "map": null,
    "maxplayers": 6,
    "name": "不许GJ",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 10999,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": 0,
    "query": 10999,
    "request": "124.223.8.206:10999",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "740256",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": null,
    "city": "Шанхай",
    "description": null,
    "disabled_modules": [],
    "gamemode": "survival",
    "hidden": false,
    "last_offline": 1788554529,
    "last_online": 1790400738,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 4335,
    "wipe_period": null,
    "paused": false,
    "season": "summer",
    "lanonly": false,
    "dedicated": true,
    "clienthosted": false,
    "directory_id": "a3a2568fe75471ffc0fe3ba170842ea1"
  }
}

Примеры кода

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