Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11116765
json
{
  "response": {
    "steam_id": "90284670155874332",
    "domain": null,
    "id": 11116765,
    "ip": "216.201.77.199",
    "port": 1045,
    "query": 1046,
    "color": 0,
    "city": "Maidenhead",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776855752,
    "score": 0,
    "last_online": 1776631237,
    "icon": null,
    "name": "TRD Server",
    "connect": "216.201.77.199:1045",
    "request": "216.201.77.199:1046",
    "map": "egl_laghisola",
    "gamemode": "TRD%20Battle%20Royale%3a%20Golden%20Bloodline",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 15,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770112924,
    "last_update": 1776855752,
    "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": 3628,
    "language": "en",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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