Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502644
json
{
  "response": {
    "fps": 240,
    "fps_avg": 239,
    "entities_count": 4849,
    "world_seed": 53445657,
    "world_size": 1000,
    "steam_id": "90286544657263646",
    "domain": null,
    "id": 11502644,
    "ip": "24.14.251.211",
    "port": 28015,
    "query": 28011,
    "color": 0,
    "city": "Romeoville",
    "description": "![Brett's Funtime](https://data.thebrettyt.com/images/serverrustimage.png)\nHi Welcome to Brett's Funtime\r\n──────────────────────────────────────\r\nThis server is open to anyone to build\r\n\r\nRules:\r\n1: Do NOT!!! Raid Unless someone says its ok.\r\n2: Don't build something inappropriate.\r\n3: Just be a human and have fun with 999k resources\r\n──────────────────────────────────────\r\nNote: This server is localhosted and hosted on a Intel NUC\r\n──────────────────────────────────────\r\nSpecs:\r\n\r\nCPU: Intel(R) Core(TM) i3-8109U CPU @ 3.00GHz\r\nMemory (RAM): 32 GBs of Kingston SODiMM DDR4 Memory 16x2\r\n\r\nStorage: Samsung M.2 990 PRO with Heatsink 1TB\r\n(My dad bought me a PS5 M.2 Drive)\r\n\r\nGPU: Intel(R) Iris(R) Plus Graphics 655\r\n(Uh its integrated graphics but its fine I guess)\r\n──────────────────────────────────────\r\nSo ya thats all for the description join and have fun with 999.999\r\nstack and make sure to make cool bases.\r\n──────────────────────────────────────",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779944625,
    "last_online": 1780547432,
    "icon": null,
    "name": "Brett's Funtime",
    "connect": "24.14.251.211:28015",
    "request": "24.14.251.211:28011",
    "map": "Brett's Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207207,
    "last_update": 1780547432,
    "banned": false,
    "wipe": 1779157423,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4933,
    "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/11502644");
$data = json_decode($json, true);
var_dump($data);