Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5616421
json
{
  "response": {
    "fps": 89,
    "fps_avg": 89,
    "entities_count": 138730,
    "world_seed": 1271193543,
    "world_size": 5000,
    "steam_id": "90283780006830093",
    "domain": null,
    "id": 5616421,
    "ip": "104.129.132.23",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![EmpireXtra US | Hardcore | 2-week wipe](https://www.simpleimageresizer.com/_uploads/photos/60f414a6/empireeeee_optimized.png)\nMore Crates at Monuments\r\nRecyclers at Monuments\r\nUpdated Vending Machines at Outpost and Bandit Camp\r\nSharks at small and large oil\r\nFree Skins\r\nFree Starter Kits\r\nFast Shmelt\r\nAuto pickup Barrel\r\nInstant craft",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776368429,
    "icon": null,
    "name": "EmpireXtra US | Hardcore | 2-week wipe",
    "connect": "104.129.132.23:28015",
    "request": "104.129.132.23:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2622",
    "numplayers": 0,
    "maxplayers": 120,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1723694973,
    "last_update": 1776368429,
    "banned": false,
    "wipe": 1773445042,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3338,
    "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/5616421");
$data = json_decode($json, true);
var_dump($data);