Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502504
json
{
  "response": {
    "fps": 53,
    "fps_avg": 53,
    "entities_count": 75357,
    "world_seed": 1197989425,
    "world_size": 3500,
    "steam_id": "90285846891428893",
    "domain": null,
    "id": 11502504,
    "ip": "66.51.96.70",
    "port": 28010,
    "query": 28011,
    "color": 0,
    "city": "Ashburn",
    "description": "![smkn rust land [ 1/4 upkeep ] [ 2x ] [antioffline raid]](https://www.dropbox.com/scl/fi/vf446oqnooup33jf0o3c2/Untitled-design.png?rlkey=qazx72qzqygzttesoynxhs0v9&st=u8vq5391&dl=0)\nsmkn's server\r\nno griefing \r\nno stream sniping \r\nnoob friendly \r\nhere to learn and have a good time",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207201,
    "last_online": 1780556428,
    "icon": null,
    "name": "smkn rust land [ 1/4 upkeep ] [ 2x ] [antioffline raid]",
    "connect": "66.51.96.70:28010",
    "request": "66.51.96.70:28011",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207201,
    "last_update": 1780556428,
    "banned": false,
    "wipe": 1778954477,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4934,
    "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/11502504");
$data = json_decode($json, true);
var_dump($data);