Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5904286
json
{
  "response": {
    "steam_id": "85568392924637444",
    "domain": null,
    "id": 5904286,
    "ip": "116.202.131.125",
    "port": 34015,
    "query": 34015,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775754126,
    "score": 0,
    "last_online": 1776113433,
    "icon": "https://www.freezzer.com/images/unturned_icon.png",
    "name": "[EU] Freezzer #ARENA [Creative|Stats|Discord]",
    "connect": "116.202.131.125:34015",
    "request": "116.202.131.125:34015",
    "map": "Alpha Valley",
    "gamemode": "Creative Arena",
    "version": "3.26.2.2",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1726048184,
    "last_update": 1776113433,
    "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": 196,
    "language": "de",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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