Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11143330
json
{
  "response": {
    "steam_id": "90285117477995527",
    "domain": null,
    "id": 11143330,
    "ip": "155.4.94.155",
    "port": 27022,
    "query": 27023,
    "color": 0,
    "city": "Lomma",
    "description": "[Vao](https://steamcommunity.com/sharedfiles/filedetails/?id=3285049160)\r\n[Operationleansteep](https://steamcommunity.com/sharedfiles/filedetails/?id=3303665721)\r\n[BigLearning](https://steamcommunity.com/sharedfiles/filedetails/?id=2947290153)\r\n[UkraineFields](https://steamcommunity.com/sharedfiles/filedetails/?id=3690421741)\r\n[MECFaction](https://steamcommunity.com/sharedfiles/filedetails/?id=3701549420)\r\n[ESTfaction](https://steamcommunity.com/sharedfiles/filedetails/?id=3436275480)\r\n[DifferentLighting](https://steamcommunity.com/sharedfiles/filedetails/?id=3649259612)\r\n[KorangalValley](https://steamcommunity.com/sharedfiles/filedetails/?id=3660225476)",
    "game": 736590,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777284201,
    "score": 0,
    "last_online": 1777534824,
    "icon": null,
    "name": "=LoyalGames.Eu=#4 | EST - MEA | Helis |",
    "connect": "155.4.94.155:27022",
    "request": "155.4.94.155:27023",
    "map": "Operation Lean Sweep AAS",
    "gamemode": "OHD Vehicle Overhaul",
    "version": "89",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1771694103,
    "last_update": 1777534824,
    "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": 10,
    "language": "sv",
    "parked": false,
    "app": {
      "id": 52393,
      "steam_id": 736590,
      "name": "Operation: Harsh Doorstop",
      "url": "operation-harsh-doorstop"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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