Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10671248
json
{
  "response": {
    "fps": 140,
    "fps_avg": 165,
    "entities_count": 88836,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": 90284745794390030,
    "domain": null,
    "id": 10671248,
    "ip": "82.21.2.2",
    "port": 5604,
    "query": 5672,
    "color": 0,
    "city": "Chiyoda City",
    "description": "初心者OK\r\n リソーススタック3倍\r\n ※レイダブルベースあり\r\n \r\n 通報やDiscordサーバー参加希望の場合は、\r\n DiscordID「Ugenta」までご連絡ください。\r\n \r\n 未強化の拠点は2日で強制風化します。\r\n 最低でも木材へ強化をお願いします。\r\n \r\n Next Full Wipe: 4/24",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776789802,
    "score": 0,
    "last_online": 1776852616,
    "icon": null,
    "name": "[JP][PVE]HOUZITYA server 初心者OK",
    "connect": "82.21.2.2:5604",
    "request": "82.21.2.2:5672",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1764579369,
    "last_update": 1776852616,
    "banned": false,
    "wipe": 1776008216,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 868,
    "language": "ja",
    "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/10671248");
$data = json_decode($json, true);
var_dump($data);