Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11131310
json
{
  "response": {
    "fps": 240,
    "fps_avg": 239,
    "entities_count": 8527,
    "world_seed": 1585000578,
    "world_size": 1500,
    "steam_id": "90286173979738125",
    "domain": null,
    "id": 11131310,
    "ip": "157.85.94.21",
    "port": 20632,
    "query": 20633,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] BetterRust - One Grid | 5x Solo/Duo/Trio](https://www.betterrust.com/img/assets/servers/banners/onegrid5x.png)\nWelcome to BetterRust — a fast-paced competitive One Grid experience built for players who want nonstop action.\r\nGroup Size = Trio (3)\r\n5x Rates | Balanced Loot | QOL Mods\r\nYou are given T1 and T2 blueprints upon spawning.\r\nNights last 5 minutes and are always bright.\r\n\r\nMap Wipes: Every Wednesday & Saturday at 3PM EST\r\nBlueprints: Monthly on Force Wipe\r\n\r\n[Server Rules]:\r\n• No cheating\r\n• No impersonating staff members.\r\n• No over-teaming (Max Trio — No Alliances).\r\n• No racism\r\n• No Rust/EAC banned accounts under 180 days.\r\n\r\n[Server Perks]:\r\n• Active & Fair Staff\r\n• One Grid PvP Focused Map\r\n• High Performance Hardware\r\n• DDoS Protected\r\n• Lag-Free Gameplay\r\n• No Pay-to-Win\r\n\r\nJoin our Discord server for more information!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780588414,
    "last_online": 1779911426,
    "icon": null,
    "name": "[US] BetterRust - One Grid | 5x Solo/Duo/Trio",
    "connect": "157.85.94.21:20632",
    "request": "157.85.94.21:20633",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770397351,
    "last_update": 1780588414,
    "banned": false,
    "wipe": 1779652984,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10747,
    "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/11131310");
$data = json_decode($json, true);
var_dump($data);