Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10622949
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 81372,
    "world_seed": 962513008,
    "world_size": 4000,
    "steam_id": "90286590981959707",
    "domain": null,
    "id": 10622949,
    "ip": "66.51.99.73",
    "port": 28000,
    "query": 28001,
    "color": 0,
    "city": "Dallas",
    "description": "![Dallas Rust Large | Biweekly | 50% Upkeep](https://www.dropbox.com/scl/fi/ft0tbfiqw6lylvrx4g31g/3452.png?rlkey=v2vgq5wuukz9kqgtgh95qamxi&st=5iim68eg&dl=1)\n- Biweekly wipes every other Thursday at 4PM CDT \r\n- Force wipe at 1PM CDT on first Thursdays. \r\n- 50% Upkeep \r\n- No BP wipes unless Facepunch requires it \r\n- Join us on discord: https://discord.gg/4Hp3e9Hk7v",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779966226,
    "last_online": 1780571430,
    "icon": null,
    "name": "Dallas Rust Large | Biweekly | 50% Upkeep",
    "connect": "66.51.99.73:28000",
    "request": "66.51.99.73:28001",
    "map": "Dallas Rust Large",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1763330657,
    "last_update": 1780571430,
    "banned": false,
    "wipe": 1779399841,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3652,
    "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/10622949");
$data = json_decode($json, true);
var_dump($data);