Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10751902
json
{
  "response": {
    "steam_id": "90284391222813701",
    "domain": null,
    "id": 10751902,
    "ip": "177.93.135.247",
    "port": 27961,
    "query": 27961,
    "color": 0,
    "city": "Franca",
    "description": null,
    "game": 282440,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774940529,
    "score": 0,
    "last_online": 1776230468,
    "icon": null,
    "name": "GoLive! Fortaleza,BR LG#1 antilag",
    "connect": "177.93.135.247:27961",
    "request": "177.93.135.247:27961",
    "map": "thunderstruck",
    "gamemode": "Free For All",
    "version": "1069 linux-x64 Jun  3 2016 20:53:50",
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1766253526,
    "last_update": 1776230468,
    "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": 473,
    "language": "pt",
    "parked": false,
    "app": {
      "id": 138,
      "steam_id": 282440,
      "name": "Quake Live",
      "url": "quake-live"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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