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

text
https://api.gamemonitoring.ru/servers/14603608
json
{
  "response": {
    "add_date": 1788554501,
    "app": {
      "id": 147,
      "name": "Don't Starve Together",
      "steam_id": 322330,
      "url": "dont-starve-together"
    },
    "color": 0,
    "connect": "111.229.72.234:10999",
    "country": "CN",
    "domain": null,
    "game": 322330,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 14603608,
    "ip": "111.229.72.234",
    "language": "zh",
    "last_update": 1790403862,
    "map": null,
    "maxplayers": 10,
    "name": "土豆大王",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 10999,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": 0,
    "query": 10999,
    "request": "111.229.72.234: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": 1788554501,
    "last_online": 1790403862,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2677,
    "wipe_period": null,
    "paused": false,
    "season": "summer",
    "lanonly": false,
    "dedicated": true,
    "clienthosted": false,
    "directory_id": "b1435abe28db4379bb763808e567919f"
  }
}

Примеры кода

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