Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11645251
json
{
  "response": {
    "fps": 40,
    "fps_avg": 40,
    "entities_count": 40448,
    "world_seed": 1116466332,
    "world_size": 4000,
    "steam_id": "90286603823078407",
    "domain": null,
    "id": 11645251,
    "ip": "193.31.31.34",
    "port": 21345,
    "query": 21347,
    "color": 0,
    "city": "Dallas",
    "description": "![EchoRust.co 3x Monthly |Solo/Duo/Trio/Quad | Full Wiped](https://www.dropbox.com/scl/fi/yuenngd9j5cuny5igwzkb/ECHO_Banner1.6.png?rlkey=bngdz8j022i6j5rohmqy2e3jz&st=meikay2f&dl=1)\nWelcome to EchoRust.CO! \r\n \r\n☑   Team Limit : 4 \r\n☑   Wipe : Monthly \r\n☑   3x Gather Rates / 3x barrels / 3x smelt...(2x Sulfur) \r\n☑   Better Loot \r\n☑   Customized Anti Cheat System \r\n☑   Long Days & Short Nights \r\n☑   Active Non-Playing Admin",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595061,
    "last_online": 1780596030,
    "icon": null,
    "name": "EchoRust.co 3x Monthly |Solo/Duo/Trio/Quad | Full Wiped",
    "connect": "193.31.31.34:21345",
    "request": "193.31.31.34:21347",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177457,
    "last_update": 1780596030,
    "banned": false,
    "wipe": 1780595487,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5115,
    "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/11645251");
$data = json_decode($json, true);
var_dump($data);