Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502788
json
{
  "response": {
    "fps": 174,
    "fps_avg": 171,
    "entities_count": 104219,
    "world_seed": 1,
    "world_size": 4000,
    "steam_id": "90286174377394197",
    "domain": null,
    "id": 11502788,
    "ip": "51.79.214.137",
    "port": 20624,
    "query": 20625,
    "color": 0,
    "city": "Singapore",
    "description": "x5 打架抄家服 最多8人組隊\r\nx5 modded server 8 max team\r\n地圖大小Map Size: 4000\r\n物資倍率Resource Rate: 5倍 x5\r\n製作速度Crafting Speed: 秒造 Instant\r\n燒礦速度Furnace speec: 10倍 x10\r\n分解速度Recycle speed:秒分 Instant\r\n堆疊倍率Stack Size: 10倍 x10\r\n團隊限制Team Max: 8人\r\n洗白模式Wipe Mode: 官服模式 Offical",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780553023,
    "last_online": 1779670822,
    "icon": null,
    "name": "[來輸贏] BATTLE!!-5x Vanilla | TW/JP/SG/HK/KR | 1-8 Team Max",
    "connect": "51.79.214.137:20624",
    "request": "51.79.214.137:20625",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207219,
    "last_update": 1780553023,
    "banned": false,
    "wipe": 1778209286,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11650,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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