.:BaronsBerg Bootcamp:.|PvE&PvP|AI|SlowZ|1.0.7|DayZ:Epoch için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10382029
json
{
  "response": {
    "steam_id": 90284367222087710,
    "domain": null,
    "id": 10382029,
    "ip": "83.79.164.132",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Zurich",
    "description": null,
    "game": 33930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774846930,
    "score": 0,
    "last_online": 1776195028,
    "icon": null,
    "name": ".:BaronsBerg Bootcamp:.|PvE&PvP|AI|SlowZ|1.0.7|DayZ:Epoch",
    "connect": "83.79.164.132:2302",
    "request": "83.79.164.132:2303",
    "map": "Chernarus",
    "gamemode": "DayZ Epoch Chernarus",
    "version": "1.64.144629",
    "numplayers": 1,
    "maxplayers": 45,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CH",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1758639907,
    "last_update": 1776195028,
    "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": 44,
    "language": "de",
    "parked": false,
    "app": {
      "id": 62,
      "steam_id": 33930,
      "name": "Arma 2: Operation Arrowhead",
      "url": "arma-2-operation-arrowhead"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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