Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10998761
json
{
  "response": {
    "steam_id": "90282675408659465",
    "domain": null,
    "id": 10998761,
    "ip": "88.99.105.133",
    "port": 64292,
    "query": 64294,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 365960,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773084130,
    "score": 0,
    "last_online": 1776233457,
    "icon": null,
    "name": "KSP MONT TREMBLANT",
    "connect": "88.99.105.133:64292",
    "request": "88.99.105.133:64294",
    "map": "Mont-Tremblant Karting Track",
    "gamemode": "rFactor 2",
    "version": "11134",
    "numplayers": 0,
    "maxplayers": 46,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769906562,
    "last_update": 1776233457,
    "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": 149,
    "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/10998761");
$data = json_decode($json, true);
var_dump($data);