Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502678
json
{
  "response": {
    "fps": 214,
    "fps_avg": 212,
    "entities_count": 133175,
    "world_seed": 334248661,
    "world_size": 4500,
    "steam_id": "90286412231411736",
    "domain": null,
    "id": 11502678,
    "ip": "175.193.99.171",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Gwangjin-gu",
    "description": "![더 헌터 [PVE|RPG|레벨|강화|레이드|보스|NPC]](https://i.imgur.com/pY86EOY.png)\n※ 07-05 서버 정식 오픈 ※ \r\n ㆍ로그라이크 기반 RPG서버 \r\n ㆍ모든 파밍지에서 특수 NPC 스폰 \r\n ㆍ주기적으로 생성되는 필드 보스 \r\n ㆍ세트 효과가 생기는 아이템 제작 \r\n ㆍ다양한 효과를 얻을 수 있는 스킬트리 \r\n ㆍ영어 채팅 자동 한글화 기능 추가 \r\n ㆍ제트팩 및 TP, HOME 등 편의성 기능 제공 \r\n ㆍ모드 및 그 외의 정보는 디스코드 참고 (홈페이지 보기)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780164217,
    "last_online": 1780561235,
    "icon": null,
    "name": "더 헌터 [PVE|RPG|레벨|강화|레이드|보스|NPC]",
    "connect": "175.193.99.171:28015",
    "request": "175.193.99.171:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "KR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207210,
    "last_update": 1780561235,
    "banned": false,
    "wipe": 1778199177,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4998,
    "language": "ko",
    "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/11502678");
$data = json_decode($json, true);
var_dump($data);