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

text
https://api.gamemonitoring.ru/servers/11394311
json
{
  "response": {
    "steam_id": "85568392935889853",
    "domain": null,
    "id": 11394311,
    "ip": "14.128.14.61",
    "port": 27019,
    "query": 27020,
    "color": 0,
    "city": "Dhaka",
    "description": null,
    "game": 480,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776577398,
    "score": 0,
    "last_online": 1776853864,
    "icon": null,
    "name": "Bangladesh Gaming Community Officiyal Dedicate Server (BGC)",
    "connect": "14.128.14.61:27019",
    "request": "14.128.14.61:27020",
    "map": "/map/Bangladesh.mbd",
    "gamemode": "Euro Truck Simulator 2",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "BD",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1774596933,
    "last_update": 1776853864,
    "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": 15,
    "language": "bn",
    "parked": false,
    "app": {
      "id": 54694,
      "steam_id": 480,
      "name": "Spacewar",
      "url": "spacewar"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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