Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10933736
json
{
  "response": {
    "fps": 75,
    "fps_avg": 74,
    "entities_count": 120908,
    "world_seed": 383011957,
    "world_size": 4500,
    "steam_id": "90286606146791438",
    "domain": null,
    "id": 10933736,
    "ip": "51.161.198.212",
    "port": 28040,
    "query": 28041,
    "color": 0,
    "city": "North Sydney",
    "description": "![[NZ] RustAway PvE | No Raiding | No Killing | No Decay |](https://i.ibb.co/JRqqvR48/MONTHLY-BP-MAP-WIPE-CHILL-PVE-NO-RAIDING-RUST-QOL-ADDONS-2x-Resource-Gather-3x-Resource-Stacks.png)\nWelcome to RustAway PvE\r\n\r\n  Rust+ - BP and Map wipe monthly \r\n Daily server restart 6am NZDT \r\n 50% Decay / Upkeepk\r\n\r\n QOL Mods added: \r\n Extended Workbench \r\n Furnace Splitter \r\n 10min locked crates \r\n\r\n Check info panel for rules \r\n\r\n Visit https://rustawaypve.tebex.io to purchase in-game perks and items. \r\n\r\n Use F7 report any suspected cheating or players that are breaking the rules.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780601667,
    "last_online": 1780608035,
    "icon": null,
    "name": "[NZ] RustAway PvE | No Raiding | No Killing | No Decay |",
    "connect": "51.161.198.212:28040",
    "request": "51.161.198.212:28041",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768486628,
    "last_update": 1780608035,
    "banned": false,
    "wipe": 1780602067,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4028,
    "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/10933736");
$data = json_decode($json, true);
var_dump($data);