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

text
https://api.gamemonitoring.ru/servers/17902117
json
{
  "response": {
    "add_date": 1791388643,
    "app": {
      "id": 141,
      "name": "BrainBread 2",
      "steam_id": 346330,
      "url": "brainbread-2"
    },
    "color": 0,
    "connect": "49.43.41.245:27015",
    "country": "IN",
    "domain": null,
    "game": 346330,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17902117,
    "ip": "49.43.41.245",
    "language": "hi",
    "last_update": 1792088905,
    "map": "bbc_laststand",
    "maxplayers": 12,
    "name": "BrainBread 2 Dedicated Server",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "49.43.41.245:27015",
    "secured": true,
    "status": false,
    "steam_id": "90294301928225803",
    "version": "1.0.5.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Бхопал",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1792088905,
    "last_online": 1791388643,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 25,
    "wipe_period": null,
    "os": "w",
    "region": 255,
    "product": "brainbread2",
    "gametype": "alltalk,savedata 2",
    "dedicated": false
  }
}

Примеры кода

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