XGClan.com | DayZ (1.8.9 / 131129) | [Regular|3DP:ON|CH:ON][GMT için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/4692666
json
{
  "response": {
    "steam_id": "90284385073803264",
    "domain": null,
    "id": 4692666,
    "ip": "51.255.223.152",
    "port": 2402,
    "query": 2403,
    "color": 0,
    "city": "Roubaix",
    "description": "",
    "game": 224580,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768642757,
    "score": 0,
    "last_online": 1776895290,
    "icon": null,
    "name": "XGClan.com | DayZ (1.8.9 / 131129) | [Regular|3DP:ON|CH:ON][GMT",
    "connect": "51.255.223.152:2402",
    "request": "51.255.223.152:2403",
    "map": null,
    "gamemode": "Arma OA",
    "version": "1.63.131129",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1717761844,
    "last_update": 1776895290,
    "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": 9,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 33381,
      "steam_id": 224580,
      "name": "Arma 2: DayZ Mod",
      "url": "arma-2-dayz-mod"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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