Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10571327
json
{
  "response": {
    "fps": 114,
    "fps_avg": 114,
    "entities_count": 50474,
    "world_seed": 4167728343,
    "world_size": 3000,
    "steam_id": "90286619185957907",
    "domain": null,
    "id": 10571327,
    "ip": "198.73.57.80",
    "port": 28035,
    "query": 28037,
    "color": 0,
    "city": "Clifton",
    "description": "Solo/Duo\r\n3X Rates\r\nMonthly Resets\r\n 3pm 1st Thursday Each Month\r\nQoL Improvements\r\n50% Upkeep\r\nNo Radiaton\r\n5 Min Locked Crates\r\n/Bgrade/Remove\r\nT1 BP Unlocked\r\nShared BP's",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780662035,
    "icon": null,
    "name": "RustyDuos 3X Solo/Duo",
    "connect": "198.73.57.80:28035",
    "request": "198.73.57.80:28037",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762847048,
    "last_update": 1780662035,
    "banned": false,
    "wipe": 1780596391,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3843,
    "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/10571327");
$data = json_decode($json, true);
var_dump($data);