Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10998527
json
{
  "response": {
    "steam_id": "90284178896664601",
    "domain": null,
    "id": 10998527,
    "ip": "109.123.102.91",
    "port": 7747,
    "query": 28892,
    "color": 0,
    "city": "Amsterdam",
    "description": null,
    "game": 1250,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775826125,
    "score": 0,
    "last_online": 1776256279,
    "icon": null,
    "name": "Bentley Emporium",
    "connect": "109.123.102.91:7747",
    "request": "109.123.102.91:28892",
    "map": "KF-westlondon",
    "gamemode": "Killing Floor",
    "version": "1.0.6.5",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769906514,
    "last_update": 1776256279,
    "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": 337,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 50,
      "steam_id": 1250,
      "name": "Killing Floor",
      "url": "killing-floor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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