Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9566701
json
{
  "response": {
    "fps": 30,
    "fps_avg": 34,
    "entities_count": 94029,
    "world_seed": 1170074430,
    "world_size": 4000,
    "steam_id": 90286604076042240,
    "domain": null,
    "id": 9566701,
    "ip": "156.236.84.11",
    "port": 28050,
    "query": 28051,
    "color": 0,
    "city": "Dallas",
    "description": "![The Rusty Dojo PVE | No Decay | Events | T1 BPs are Default](https://i.imgur.com/5H7yyDq.jpeg)\nChill Vibes \r\n- PVE No killing other players - Raid Protection - No Looting others' stuff - No Base Decay with TC  \r\n- Raidable NPC BASES and Raidable NPC BOATS  \r\n Custom Building Sites \r\n- Zombies - low pop  \r\n- FREE Minicopters ignore scrap cost  \r\n- Cargo Plane Crash plus other events \r\n- T2 and T3 BP Wipe Monthly - T1 BPs are default \r\n Patrol Heli call signals sold at some Safe Zones \r\n- Be friendly and respectful  \r\n- Join our Discord server https://discord.gg/kd6aNbB)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780603230,
    "icon": null,
    "name": "The Rusty Dojo PVE | No Decay | Events | T1 BPs are Default",
    "connect": "156.236.84.11:28050",
    "request": "156.236.84.11:28051",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1750589244,
    "last_update": 1780603230,
    "banned": false,
    "wipe": 1780596107,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2324,
    "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/9566701");
$data = json_decode($json, true);
var_dump($data);