Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11645135
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 14146,
    "world_seed": 1,
    "world_size": 2000,
    "steam_id": "90286530100558873",
    "domain": null,
    "id": 11645135,
    "ip": "66.51.96.66",
    "port": 28060,
    "query": 28061,
    "color": 0,
    "city": "Ashburn",
    "description": "![Rusty Playground Solo/Duo/Trio/Quad. 2x EVERYTHING](https://i.imgur.com/zotopFN.png)\nThis server is a 3x, quad-max group sized server - 50% upkeep.\r\nAll loot, gathering, and rates are 2x. \r\nSmelting is 2x. \r\nRecycling Speed 2x\r\n16x stack sizes\r\n\r\n• Bi-weekly map wipes / BP wipes\r\n\r\nRaiding operates on a rotating schedule:\r\n• 3 hours of \"safe\" time\r\n• 3 hours of raid time\r\n• Cycle repeats continuously\r\n\r\nKOS is allowed at all times and anywhere.\r\n\r\n• Quad max team size (enforced by UI)\r\n\r\nKits:\r\n• Daily kit - burlap gear + bow + arrows\r\n• Starter kit (1x per wipe) - hatchet, pickaxe, 3 pumpkins\r\n\r\nVIP ($5/month):\r\n• Colored name\r\n• Furnace splitter\r\n• Sign artist (SIL)\r\n• Skinbox",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780177448,
    "last_online": 1780601435,
    "icon": null,
    "name": "Rusty Playground Solo/Duo/Trio/Quad. 2x EVERYTHING",
    "connect": "66.51.96.66:28060",
    "request": "66.51.96.66:28061",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177448,
    "last_update": 1780601435,
    "banned": false,
    "wipe": 1778207803,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5060,
    "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/11645135");
$data = json_decode($json, true);
var_dump($data);