Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11511756
json
{
  "response": {
    "fps": 46,
    "fps_avg": 54,
    "entities_count": 161915,
    "world_seed": 5,
    "world_size": 5250,
    "steam_id": 90286609243336720,
    "domain": null,
    "id": 11511756,
    "ip": "50.115.8.138",
    "port": 23380,
    "query": 23381,
    "color": 0,
    "city": "Chicago",
    "description": "PvE Survival | PvP Monuments | Raidable Bases | NPC Events | Rewards  Welcome to a PvE-focused Rust server built around progression, combat, and optional high-risk PvP.  The open world is PvE, so players can farm, build, and progress without constant offline chaos. PvP is enabled at all monuments, raidable bases, and major events, creating clear danger zones for groups who want higher-risk fights and better rewards.  Features: • 1.5x gather rates • PvE world with PvP monuments • PvP Raidable Bases • Dangerous Treasures events • Night Zombies • Plagued NPCs and elite enemies • Server Rewards shop • Rotating Black Market • Player bounty system • Group-friendly event pacing • Casual grind with optional hardcore PvE/PvP  Farm safe, fight smart, and push into the danger zones when you’re ready.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780604060,
    "last_online": 1780651229,
    "icon": null,
    "name": "Rusty Now",
    "connect": "50.115.8.138:23380",
    "request": "50.115.8.138:23381",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353864,
    "last_update": 1780651229,
    "banned": false,
    "wipe": 1780604272,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4990,
    "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/11511756");
$data = json_decode($json, true);
var_dump($data);