Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502286
json
{
  "response": {
    "fps": 10,
    "fps_avg": 9,
    "entities_count": 84375,
    "world_seed": 6738,
    "world_size": 4000,
    "steam_id": "90286604892132362",
    "domain": null,
    "id": 11502286,
    "ip": "31.214.238.124",
    "port": 10700,
    "query": 10701,
    "color": 0,
    "city": "Clifton",
    "description": "![Umbrella Gaming | Chill | Low Upkeep | USA](https://imgur.com/a/7D3g71Y)\nWelcome to [Umbrella Gaming] \r\n Light-Mod PvP Server, Low Upkeep \r\n Map Wipes: 1st Thursday of every month.\r\n BP Wipes: ONLY When Forced.\r\n Rules: No hacking, play fair.\r\n [Discord.gg/Clairvoyance]",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598666,
    "last_online": 1780600833,
    "icon": null,
    "name": "Umbrella Gaming | Chill | Low Upkeep | USA",
    "connect": "31.214.238.124:10700",
    "request": "31.214.238.124:10701",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207196,
    "last_update": 1780600833,
    "banned": false,
    "wipe": 1780598890,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4397,
    "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/11502286");
$data = json_decode($json, true);
var_dump($data);