Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9280522
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9280522,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Saskatoon",
    "description": null,
    "game": 333950,
    "owner": 123974,
    "boosts": 1,
    "last_offline": 1774245078,
    "score": 0,
    "last_online": 1773346219,
    "icon": null,
    "name": "Skals Midgard 2026 [NA-PvE]",
    "connect": null,
    "request": null,
    "map": "Midgard Server 4 2025",
    "gamemode": "Medieval Engineers",
    "version": null,
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CA",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1747610853,
    "last_update": 1774245078,
    "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": 11,
    "language": "en",
    "parked": true,
    "app": {
      "id": 89,
      "steam_id": 333950,
      "name": "Medieval Engineers",
      "url": "medieval-engineers"
    },
    "server_owner": {
      "username": "Skallabjorn",
      "avatar": "eddfe903-c3c8-4e02-b795-fc621bb689d2.jpg",
      "last_online": 1753896764
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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