Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7466722
json
{
  "response": {
    "fps": 44,
    "fps_avg": 45,
    "entities_count": 98467,
    "world_seed": 280529045,
    "world_size": 4000,
    "steam_id": "90286264969669644",
    "domain": null,
    "id": 7466722,
    "ip": "45.83.104.89",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Nuremberg",
    "description": "![The Origin [Remover Tool|50% Upkeep|4 Max|Just wiped]](https://raw.githubusercontent.com/Chris0k/rust-files/refs/heads/main/header_images/landscape-rust-sun-sunset-wallpaper-preview-512.jpg)\nBeginner friendly workout fun\r\n\r\nFeatures:\r\n● Active Admins\r\n● 50% Upkeep\r\n● Remover Tool\r\n● Global ingame chat on discord\r\n\r\nMap:\r\nSeed: 1\r\nSize: 4000\r\nMap: https://rustmaps.com/map/4000_280529045\r\n\r\nWipe-Plan:\r\nNach Bedarf/Abstimmung - zweiwöchentlich mit steigernder Spielerzahl.\r\n\r\nWipe schedule:\r\nAs required/voted for - Biweekly as soon as the number of players increases.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780569218,
    "last_online": 1779889824,
    "icon": null,
    "name": "The Origin [Remover Tool|50% Upkeep|4 Max|Just wiped]",
    "connect": "45.83.104.89:28015",
    "request": "45.83.104.89:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1739234709,
    "last_update": 1780569218,
    "banned": false,
    "wipe": 1778206656,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10451,
    "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/7466722");
$data = json_decode($json, true);
var_dump($data);