Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/686394
json
{
  "response": {
    "fps": 143,
    "fps_avg": 138,
    "entities_count": 113344,
    "world_seed": 279,
    "world_size": 4500,
    "steam_id": "90286548107747351",
    "domain": null,
    "id": 686394,
    "ip": "23.94.186.226",
    "port": 28026,
    "query": 28029,
    "color": 0,
    "city": "Buffalo",
    "description": "![! Volten Gaming Vanilla Solo East!](https://hosting.photobucket.com/images/i/voltengaming/volten_logo(1).png)\nVolten Gaming Vanilla Solo East \r\n Server specific rules and information. \r\n Weekly wipe schedule. \r\n Monthly blueprint. \r\n Solo only no teaming. \r\n Active staff members. \r\n Online since February 2021. \r\n Volten Gaming rules are available on our website.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780474456,
    "last_online": 1780558830,
    "icon": null,
    "name": "! Volten Gaming Vanilla Solo East!",
    "connect": "23.94.186.226:28026",
    "request": "23.94.186.226:28029",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1670760359,
    "last_update": 1780558830,
    "banned": false,
    "wipe": 1780002584,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2016,
    "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/686394");
$data = json_decode($json, true);
var_dump($data);