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

text
https://api.gamemonitoring.ru/servers/11750631
json
{
  "response": {
    "steam_id": null,
    "domain": "node1.zencheap.net",
    "id": 11750631,
    "ip": "14.227.230.143",
    "port": 30202,
    "query": 30202,
    "color": 0,
    "city": "Ho Chi Minh City",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780560206,
    "last_online": 1780536054,
    "icon": null,
    "name": "« COCONUTVANILLA » NEW SEASON - COMEMING",
    "connect": "node1.zencheap.net:30202",
    "request": "14.227.230.143:30202",
    "map": null,
    "gamemode": null,
    "version": "1.21.11",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "VN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780519127,
    "last_update": 1780560206,
    "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": 5568,
    "language": "vi",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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