Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/8529996
json
{
  "response": {
    "steam_id": "90286741000562706",
    "domain": null,
    "id": 8529996,
    "ip": "49.13.152.132",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 4000,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772053298,
    "last_online": 1780912930,
    "icon": null,
    "name": "★ F-S | ZombieRP |Custom|Boss|Invasions|Cars|Wire&E2|Optimize",
    "connect": "49.13.152.132:27015",
    "request": "49.13.152.132:27015",
    "map": "rp_chaos_city_v33x_03",
    "gamemode": "ZombieRP",
    "version": "2025.03.26",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1744460114,
    "last_update": 1780912930,
    "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": 1330,
    "language": "de",
    "parked": false,
    "app": {
      "id": 30,
      "steam_id": 4000,
      "name": "Garry's Mod",
      "url": "garrys-mod"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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