Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11617910
json
{
  "response": {
    "steam_id": "90286183915045893",
    "domain": null,
    "id": 11617910,
    "ip": "67.249.66.5",
    "port": 17777,
    "query": 27015,
    "color": 0,
    "city": "Winslow",
    "description": null,
    "game": 1149460,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780548816,
    "last_online": 1780071123,
    "icon": null,
    "name": "Lee Survival",
    "connect": "67.249.66.5:17777",
    "request": "67.249.66.5:27015",
    "map": null,
    "gamemode": "Icarus",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779915934,
    "last_update": 1780548816,
    "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": 8398,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1600891,
      "steam_id": 1149460,
      "name": "Icarus",
      "url": "icarus"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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