Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502455
json
{
  "response": {
    "fps": 39,
    "fps_avg": 35,
    "entities_count": 126298,
    "world_seed": 376197333,
    "world_size": 4500,
    "steam_id": "90286604676102172",
    "domain": null,
    "id": 11502455,
    "ip": "66.51.96.69",
    "port": 28065,
    "query": 28066,
    "color": 0,
    "city": "Ashburn",
    "description": "![[US] Gamerz Inn - PvE](https://gamerz-inn.s3.us-east-1.amazonaws.com/rust_website/banner.png)\nGamerz Inn Community  \r\n- VIP Perks (Offline Temp)\r\n- Tons of Plugins\r\n- Active Staff\r\n- Custom Events",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598072,
    "last_online": 1780607428,
    "icon": null,
    "name": "[US] Gamerz Inn - PvE",
    "connect": "66.51.96.69:28065",
    "request": "66.51.96.69:28066",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 7,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1779207200,
    "last_update": 1780607428,
    "banned": false,
    "wipe": 1780597973,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1986,
    "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/11502455");
$data = json_decode($json, true);
var_dump($data);