Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11781802
json
{
  "response": {
    "fps": 240,
    "fps_avg": 238,
    "entities_count": 50302,
    "world_seed": 195248,
    "world_size": 3000,
    "steam_id": "90287031896239108",
    "domain": null,
    "id": 11781802,
    "ip": "50.6.240.20",
    "port": 28015,
    "query": 28017,
    "project_id": null,
    "color": 0,
    "city": "Toronto",
    "description": "![★ Alpine Haven PvE 2x ★ [RaidableBases | ZLevels | Bots]](https://i.postimg.cc/yYfp2c7c/Server-Banner.jpg)\n★ WELCOME TO ALPINE HAVEN ★\r\nThe ultimate chill PvE survival adventure. Build your dream compound, level up your skills, and survive the wilderness without the stress of getting offline raided!\r\n\r\n★ SERVER FEATURES ★\r\n★ 2x Gather & Loot Rates (Less grind, more fun!)\r\n★ ZLevels: Addictive RPG skill leveling system.\r\n★ Raidable Bases: Tons of custom NPC bases to raid safely.\r\n★ Teleportation: Fast travel with /home and /tpr.\r\n★ Free Skins: Skin any item instantly using /skin.\r\n★ Server Shop: Earn points just by playing to spend in /shop.\r\n★ Buy Vehicles: Buy and spawn your own Minicopters or cars.\r\n★ Builder QoL: BGrade (auto-upgrade walls) & Remover Tool.\r\n★ Custom Bosses: Fight Alpha Animals & Bradley Guards!\r\n★ Interactive AI: Chat directly with our smart in-game AI (RustGPT)!\r\n\r\n★ SERVER RULES ★\r\n1. Strictly No PvP, No Raiding, No Griefing, and No Stealing.\r\n2. Respect player claims, bases, and decaying structures.\r\n3. Be friendly and welcoming to all community members.\r\n\r\n▶ WIPE SCHEDULE: Monthly on Force\r\n▶ JOIN OUR DISCORD: https://discord.gg/RNJ575bnKP",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781481850,
    "last_online": 1781524232,
    "icon": null,
    "name": "★ Alpine Haven PvE 2x ★ [RaidableBases | ZLevels | Bots]",
    "connect": "50.6.240.20:28015",
    "request": "50.6.240.20:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1781376787,
    "last_update": 1781524232,
    "banned": false,
    "wipe": 1781046796,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6154,
    "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/11781802");
$data = json_decode($json, true);
var_dump($data);