Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501318
json
{
  "response": {
    "fps": 216,
    "fps_avg": 214,
    "entities_count": 48936,
    "world_seed": 1182674372,
    "world_size": 3250,
    "steam_id": "90286346201278490",
    "domain": null,
    "id": 11501318,
    "ip": "208.115.206.171",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![Rebels Retreat EU | Trio | Vanilla+ | Biweekly](https://www.dropbox.com/scl/fi/1aygiwvp7qwf6yh45uz09/fulldone-rrheader.png?rlkey=2xeei5bsbv0ojkvlh3yl876uv&st=9tu7vzjq&dl=1)\nVanilla+ Trio Experience\r\n\r\nSolo/Duo/Trio (Max 3)\r\nBi-Weekly Map Wipes (Thursday 19:00)\r\nMonthly BP Wipe (Force)\r\n\r\nLight QoL Only\r\nRecyclers at Fishing Villages\r\nMerged Outpost & Bandit Camp\r\n\r\nCustom Anti-Cheat\r\nActive Admins\r\nNo Pay2Win\r\n\r\nOG Rewards for Early Players\r\n\r\nDiscord: discord.gg/YXnXA9Vx9f",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780568616,
    "last_online": 1780040424,
    "icon": null,
    "name": "Rebels Retreat EU | Trio | Vanilla+ | Biweekly",
    "connect": "208.115.206.171:28080",
    "request": "208.115.206.171:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207170,
    "last_update": 1780568616,
    "banned": false,
    "wipe": 1778182496,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11218,
    "language": "de",
    "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/11501318");
$data = json_decode($json, true);
var_dump($data);