Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10682268
json
{
  "response": {
    "steam_id": "90284532684758039",
    "domain": null,
    "id": 10682268,
    "ip": "82.67.158.227",
    "port": 7779,
    "query": 27015,
    "color": 0,
    "city": "Martigues",
    "description": null,
    "game": 203290,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777504959,
    "score": 0,
    "last_online": 1776804144,
    "icon": null,
    "name": "[EF]=Elite Fighters= Server!",
    "connect": "82.67.158.227:7779",
    "request": "82.67.158.227:27015",
    "map": "FLO_InnerHospital_EX",
    "gamemode": "America's Army: Proving Grounds",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 36,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1764584230,
    "last_update": 1777504959,
    "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": 49,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 75,
      "steam_id": 203290,
      "name": "America's Army: Proving Grounds",
      "url": "americas-army-proving-grounds"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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