Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11645073
json
{
  "response": {
    "fps": 120,
    "fps_avg": 115,
    "entities_count": 86810,
    "world_seed": 741920,
    "world_size": 4000,
    "steam_id": "90286605548162048",
    "domain": null,
    "id": 11645073,
    "ip": "69.164.251.164",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Dallas",
    "description": "Welcome to DeepSpaceGaming (DSG) \r\n\r\nMonthly wipes with 2x gather rates.\r\nNo Blueprint Wipes.\r\nSolo / Duo / Trio / Quad, small group friendly so every player counts.\r\nNoob Friendly, new to Rust? This is the perfect place to learn the ropes without getting stomped 24/7.\r\n\r\nWhat we offer:\r\n  - 2x Resources & Components\r\n  - No BP Wipes on monthly wipe\r\n  - Active & fair admins\r\n  - Regular events & giveaways\r\n  - Balanced, anti-cheat protected environment\r\n\r\nDSG is built for players who want a fair, fun, and progressive Rust experience, whether you are a seasoned raider or just starting out.\r\n\r\nJoin our community: discord.gg/DSG",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780380852,
    "last_online": 1780605631,
    "icon": null,
    "name": "DSG - 2x Monthly Solo/Duo/Trio/Quad | No BP Wipe",
    "connect": "69.164.251.164:28080",
    "request": "69.164.251.164:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1780177445,
    "last_update": 1780605631,
    "banned": false,
    "wipe": 1780600231,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2649,
    "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/11645073");
$data = json_decode($json, true);
var_dump($data);