Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/1471070
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1471070,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Seoul",
    "description": "",
    "game": 17570,
    "owner": 101515,
    "boosts": 1,
    "last_offline": 1773381694,
    "score": null,
    "last_online": 1772460615,
    "icon": null,
    "name": "[NE Asia] OurDare Team Objectives Server (Bots)",
    "connect": null,
    "request": null,
    "map": "bt_island",
    "gamemode": "PVKII: Classic",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "KR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1697315069,
    "last_update": 1773381694,
    "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": 19,
    "language": "ko",
    "parked": true,
    "app": {
      "id": 92,
      "steam_id": 17570,
      "name": "Pirates Vikings & Knights II",
      "url": "pirates-vikings-knights-ii"
    },
    "server_owner": {
      "username": "vintertid",
      "avatar": "d16fbca0-56bc-4048-9b13-35e9119cd1d7.jpg",
      "last_online": 1737532420
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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