Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10534282
json
{
  "response": {
    "fps": 62,
    "fps_avg": 62,
    "entities_count": 115388,
    "world_seed": 2000244303,
    "world_size": 4500,
    "steam_id": "90286602869283848",
    "domain": null,
    "id": 10534282,
    "ip": "135.131.173.223",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Nampa",
    "description": "Rust server in Boise ID.\r\nRaiding zombie hordes, Recyclers on oil rigs and cargo ships. Stack sizes increased. 10x HQM out of the furnace. One second crate unlock. Superfast cooking and refining. Locks on helis and horses. Craftable recyclers (up to 2). Minis have spotlights and storage.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780447459,
    "last_online": 1780596631,
    "icon": null,
    "name": "Rust Idaho.",
    "connect": "135.131.173.223:28015",
    "request": "135.131.173.223:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762518664,
    "last_update": 1780596631,
    "banned": false,
    "wipe": 1778178776,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2908,
    "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/10534282");
$data = json_decode($json, true);
var_dump($data);