JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677422
json
{
  "response": {
    "fps": 185,
    "fps_avg": 186,
    "entities_count": 79119,
    "world_seed": 437256933,
    "world_size": 3700,
    "steam_id": "90286611334617119",
    "domain": null,
    "id": 11677422,
    "ip": "168.210.140.176",
    "port": 28015,
    "query": 28019,
    "color": 0,
    "city": "Johannesburg",
    "description": "![RRSA 10X | PvP, Loot+, Events! | ZA](https://cdn.discordapp.com/attachments/960550977658847263/1509916055882039396/HeroImage.jpg?ex=6a1d8d68&is=6a1c3be8&hm=6262d982eb2ad7bffd918d5accc87c6b2bbb9a34c7a4c6dc0593e779415e8215&)\n⚡ Rust Republic 10X | ZA |\r\n\r\n🔥 10X Gather Rates - Less grind, more action\r\n💀 PvP Focused - Full PvP, always someone to fight\r\n🎁 Loot+ - Better drops across the map\r\n⚙️ Custom Plugins - Clans, Kits, Backpacks, Shop & more\r\n🎉 Events & Competitions - Regular events and prize competitions\r\n\r\n🌍 SA Hosted - Low ping for South African players\r\n\r\n💬 Join our Discord for wipe info and updates!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780610661,
    "last_online": 1780641632,
    "icon": null,
    "name": "RRSA 10X | PvP, Loot+, Events! | ZA",
    "connect": "168.210.140.176:28015",
    "request": "168.210.140.176:28019",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780216208,
    "last_update": 1780641632,
    "banned": false,
    "wipe": 1780595422,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5503,
    "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/11677422");
$data = json_decode($json, true);
var_dump($data);