Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5615266
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 65360,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286685980876801",
    "domain": null,
    "id": 5615266,
    "ip": "185.172.175.8",
    "port": 28014,
    "query": 28015,
    "project_id": null,
    "color": 0,
    "city": "City of London",
    "description": "![Rustality - 10x | No BPs | Kits | Shop](https://cdn3.mapstr.gg/8d0b219940e7ddf3b4b52bcc64cfc0f8.png)\nServer wipes every Wednesday 5PM & Saturday @ 2PM GMT.\r\n\r\nServer features:\r\n- 10x gather\r\n- Boosted loot\r\n- Group limit: 8\r\n- Clan cores 2.0\r\n\r\nIf you find somebody breaking the rules, please report it using /report.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595663,
    "last_online": 1780921829,
    "icon": null,
    "name": "Rustality - 10x | No BPs | Kits | Shop",
    "connect": "185.172.175.8:28014",
    "request": "185.172.175.8:28015",
    "map": "discord.gg/rustality",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 1,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1723692577,
    "last_update": 1780921829,
    "banned": false,
    "wipe": 1780773710,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3248,
    "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/5615266");
$data = json_decode($json, true);
var_dump($data);