Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502457
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 14872,
    "world_seed": 1167709725,
    "world_size": 2000,
    "steam_id": "90286250968695826",
    "domain": null,
    "id": 11502457,
    "ip": "66.51.96.59",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Ashburn",
    "description": "![Waffles and Guns](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nHosted By Pine Hosting \r\n - 24/7 Support\r\n - Easy Config Editor\r\n - Powerful Systems\r\nRules\r\n-SOLO\r\n-No offline raiding",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207200,
    "last_online": 1780556428,
    "icon": null,
    "name": "Waffles and Guns",
    "connect": "66.51.96.59:28025",
    "request": "66.51.96.59:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207200,
    "last_update": 1780556428,
    "banned": false,
    "wipe": 1778716090,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4916,
    "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/11502457");
$data = json_decode($json, true);
var_dump($data);