Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9566705
json
{
  "response": {
    "fps": 57,
    "fps_avg": 55,
    "entities_count": 138968,
    "world_seed": 1815043263,
    "world_size": 5000,
    "steam_id": "90286604304257025",
    "domain": null,
    "id": 9566705,
    "ip": "156.236.84.12",
    "port": 28070,
    "query": 28071,
    "color": 0,
    "city": "Dallas",
    "description": "![noob navy [PVE-0] (modded, Linux support)](https://www.anoners.com/tugboat_nn_pve.png)\nWelcome to the Noob Navy PVE server with TO BE DETERMINED MODDED Settings.\r\n\r\nThe server map wipes monthly with a Blueprint wipe on odd months.\r\nNo Decay or Upkeep on buildings, horses, or tug boats. Other vehicles have standard decay.\r\nPurge is announced on the Tuesday just before forced wipe.\r\n\r\nBasic Server Rules:\r\n• No killing or looting of players or sleepers.\r\n• No raiding or looting of player buildings or deployables.\r\n• Call out looting of major monuments, PvE Events, and random air drops when you arrive and is safe to do so.\r\n• If you Join together, you leave together. Friends of banned players will be banned, too.\r\n\r\nAdditional rules and translations can be found on the Noob Navy Discord.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780601433,
    "icon": null,
    "name": "noob navy [PVE-0] (modded, Linux support)",
    "connect": "156.236.84.12:28070",
    "request": "156.236.84.12:28071",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750589245,
    "last_update": 1780601433,
    "banned": false,
    "wipe": 1780596510,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3281,
    "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/9566705");
$data = json_decode($json, true);
var_dump($data);