Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9919268
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9919268,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 221100,
    "owner": 35772,
    "boosts": 1,
    "last_offline": 1758284039,
    "score": 0,
    "last_online": 1755058222,
    "icon": null,
    "name": "ALTEREGO | DEER-ISLE PvE",
    "connect": null,
    "request": null,
    "map": "deerisle",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 5,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1753975836,
    "last_update": 1758284039,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4585,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": {
      "username": "zeliboba",
      "avatar": "24a0b80f-60a8-4b48-885d-f6e50d0080b2.jpg",
      "last_online": 1776186779
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Kod örnekleri

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