Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11644724
json
{
  "response": {
    "fps": 95,
    "fps_avg": 82,
    "entities_count": 66453,
    "world_seed": 50000,
    "world_size": 3700,
    "steam_id": "90286576206021639",
    "domain": null,
    "id": 11644724,
    "ip": "157.85.95.111",
    "port": 21747,
    "query": 21748,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![HunRustEvolution [ Event | Raidbase | MyMini | Kit]](https://cdn.creen.ai/prod/ai_image/user/20260531153223964797.png?Expires=1780817547server.headerimage)\nÜdv a szerverünkön! Custom loot és izgalmas eventek várnak rád. PvP engedélyezve, takaréklángon, de vigyázz! A szerver még tesztüzemben van, köszönjük a türelmedet! Csatlakozz, játssz és élvezd a kalandot!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780487036,
    "last_online": 1780557625,
    "icon": null,
    "name": "HunRustEvolution [ Event | Raidbase | MyMini | Kit]",
    "connect": "157.85.95.111:21747",
    "request": "157.85.95.111:21748",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 45,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1780177434,
    "last_update": 1780557625,
    "banned": false,
    "wipe": 1780487250,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1716,
    "language": "de",
    "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/11644724");
$data = json_decode($json, true);
var_dump($data);