Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10939156
json
{
  "response": {
    "steam_id": 90283792657889300,
    "domain": null,
    "id": 10939156,
    "ip": "170.23.72.143",
    "port": 18648,
    "query": 18648,
    "project_id": null,
    "color": 0,
    "city": "Miami",
    "description": null,
    "game": 251570,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774988534,
    "last_online": 1781631666,
    "icon": null,
    "name": "C World",
    "connect": "170.23.72.143:18648",
    "request": "170.23.72.143:18648",
    "map": "Pregen08k02",
    "gamemode": "7 Days To Die",
    "version": "01.02.06",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1768494517,
    "last_update": 1781631666,
    "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": 3932,
    "language": "en",
    "parked": false,
    "app": {
      "id": 49,
      "steam_id": 251570,
      "name": "7 Days to Die",
      "url": "7-days-to-die"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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