Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501907
json
{
  "response": {
    "fps": 27,
    "fps_avg": 30,
    "entities_count": 197571,
    "world_seed": 1081464251,
    "world_size": 4000,
    "steam_id": "90286034379498496",
    "domain": null,
    "id": 11501907,
    "ip": "80.242.59.34",
    "port": 35015,
    "query": 35016,
    "color": 0,
    "city": "Veliky Novgorod",
    "description": "![RustResort.com - EU Vanilla | 2X Thursday 21.05](https://i.imgur.com/vejuG7Y.jpeg)\nWIPE Map - weekly on Thursdays 3PM UK ( BPs - twice a month )\r\n\r\nSemi-classical 2X                            | No limit\r\nResource extraction 2X                  | Recycle in fishing village and ranch\r\n\r\n    STORE         - rustresort.com/store\r\n    SUPPORT    - discord.gg/rustresort\r\n\r\nRules:\r\n    - no racism / politics / excessive toxicity\r\n    - no hacking / scripting / cheating / macro\r\n    - no intentional bug abuse\r\n    - no EAC / FP banned alts\r\n    - no sell anything for real money, skins and others.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207184,
    "last_online": 1779389412,
    "icon": null,
    "name": "RustResort.com - EU Vanilla | 2X Thursday 21.05",
    "connect": "80.242.59.34:35015",
    "request": "80.242.59.34:35016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 630,
    "maxplayers": 700,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 120,
    "add_date": 1779207184,
    "last_update": 1779389412,
    "banned": false,
    "wipe": 1779371811,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 47,
    "language": "ru",
    "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/11501907");
$data = json_decode($json, true);
var_dump($data);