JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11606827
json
{
  "response": {
    "fps": 106,
    "fps_avg": 111,
    "entities_count": 136361,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286581645066256",
    "domain": null,
    "id": 11606827,
    "ip": "161.129.66.156",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "New York",
    "description": "![Rusted Gaming | 5X | PVP | Monthly Wipes | Modded |](https://i.imgur.com/pNdFUho.png)\nWelcome to Rusted Gaming\r\n\r\n• 5x Gather Rates\r\n• PvP Enabled\r\n• Monthly Map Wipes\r\n• Blueprints Wipe Bi-Monthly\r\n\r\nPremium Plugins\r\n• Raidable Bases – Dynamic AI raid events with valuable loot\r\n• Convoy – Armored convoy events with NPC guards and rewards\r\n• Water Bases – Craft Water Foundations to Build in Water\r\n• Shop – In-game economy with item trading\r\n• SkinBox – Access to a large library of weapon and item skins\r\n• Chest Stacks – Increased container storage for better base organization\r\n• Vehicle License - Easily Buy Vehicle's with Commands\r\n\r\nServer Features\r\n• Balanced progression for solo, duo, and group players\r\n• Active administration\r\n• Quality-of-life improvements without breaking vanilla gameplay\r\n• Regular events and continued server development\r\n\r\nJoin our Discord for updates, wipes, rewards, and community discussions:\r\nhttps://discord.gg/6ucNhyczFg",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780503239,
    "last_online": 1780549227,
    "icon": null,
    "name": "Rusted Gaming | 5X | PVP | Monthly Wipes | Modded |",
    "connect": "161.129.66.156:28080",
    "request": "161.129.66.156:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915485,
    "last_update": 1780549227,
    "banned": false,
    "wipe": 1778181788,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5458,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11606827");
$data = json_decode($json, true);
var_dump($data);