Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501711
json
{
  "response": {
    "fps": 209,
    "fps_avg": 204,
    "entities_count": 118030,
    "world_seed": 5628455,
    "world_size": 4500,
    "steam_id": "90286603828485123",
    "domain": null,
    "id": 11501711,
    "ip": "162.19.126.139",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Gravelines",
    "description": "![EU REKT | 2X | Enhanced items | Skill |PVE| Kits | RaidBase](https://www.dropbox.com/scl/fi/f1lvn9gsr6iwxg2ls1o0d/EU-banner.png?rlkey=8mtlyk24eo7lbjvwcmmhslxtp&st=f05fw65v&raw=1)\nWelcome to REKT, a chilled PvE server with some QoL mods. 2X Resources, Scrap, and Components - Less grind, more fun.\r\n4800 size Procedural map, plenty of room to get lost.\r\nActive admins, with handpicked mods to take out the pain and add extra fun.\r\nWe have added:\r\n• Where is my corpse - Locate and teleport back to your body when you die. Useful on a big map... Limited to 5 uses per day.\r\n• BetterTC - Upgrade your base, change skins, and add wallpaper automatically from your Tool Cupboard. All skins available to all players.\r\n• Remover Tool - Activate remove tool via chat commands. Remove any building block or deployable you've placed. Handy when Bgrade goes wrong.\r\n• Skill Tree - Gain XP as you play and spend it on perks and buffs. Unlock health regeneration, MLRS call-ins, and much more across several skill branches.\r\n• Enhanced Items - Find enhanced loot with over 50 unique perks. Recycle enhanced items for a chance to get an Enhancement Kit, then upgrade your own gear. Stack up to 3 enchantments per item. Become almost immortal or shred a heli in 30 seconds! Full list of enchantments is on the welcome page.\r\n• Backpacks - 6-slot backpack. Keep its contents when you die and respawn.\r\n• Bosses - Random boss spawns around the map.\r\n• Kits - Spawn with an enhanced starter kit. More kits unlock as you level up.\r\n• Vehicle License - Spawn minicopters when needed.\r\n• Raidable Bases - AI-controlled raidable bases appear for you to conquer.\r\n• Economy - Earn currency as you play.\r\n• Shop - Spend your earned currency on helpful items.\r\n• Heli Signals - Call in helicopter events",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595060,
    "last_online": 1780607425,
    "icon": null,
    "name": "EU REKT | 2X | Enhanced items | Skill |PVE| Kits | RaidBase",
    "connect": "162.19.126.139:28015",
    "request": "162.19.126.139:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 9,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 68,
    "add_date": 1779207178,
    "last_update": 1780607425,
    "banned": false,
    "wipe": 1780595536,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 972,
    "language": "fr",
    "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/11501711");
$data = json_decode($json, true);
var_dump($data);