Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7482324
json
{
  "response": {
    "steam_id": "90284154241713183",
    "domain": null,
    "id": 7482324,
    "ip": "5.9.60.204",
    "port": 64697,
    "query": 64699,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 365960,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775774523,
    "score": 0,
    "last_online": 1776220845,
    "icon": null,
    "name": "GPVWC Practice 3 (Academy)",
    "connect": "5.9.60.204:64697",
    "request": "5.9.60.204:64699",
    "map": "Sepang International Circuit (G",
    "gamemode": "rFactor 2",
    "version": "11134",
    "numplayers": 0,
    "maxplayers": 56,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1739269443,
    "last_update": 1776220845,
    "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": 85,
    "language": "de",
    "parked": false,
    "app": {
      "id": 146,
      "steam_id": 365960,
      "name": "rFactor 2",
      "url": "rfactor-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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