JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8663138
json
{
  "response": {
    "fps": 185,
    "fps_avg": 180,
    "entities_count": 140565,
    "world_seed": 1853496501,
    "world_size": 5000,
    "steam_id": "90286604041927690",
    "domain": null,
    "id": 8663138,
    "ip": "51.77.107.131",
    "port": 2475,
    "query": 2476,
    "color": 0,
    "city": "London",
    "description": "![Valhalla Max 5  3x | Sulf 1.5x](https://i.postimg.cc/3Nc0TbcB/Valhalla-Server-512x256.png)\n\r\nWelcome to the ORIGINAL Valhalla!\r\n\r\nMap wipes 1st Thursday of each month at 7pm GMT\r\n72 hour raid protection at start of wipe\r\nMax Team size is 5 - No Truces or Alliances\r\nNo Pay 2 Win, VIP is Quality of Life only\r\n\r\nSERVER FEATURES:\r\n• No P2W - QoL Plugins Only\r\n• 50% Less TC Upkeep\r\n• Increased Turret Limit\r\n• Extended Workbench Range\r\n• Automatic SAM Site Auth\r\n• Automatic Farming\r\n• Backpacks, Vehicles, Base Recyclers and RaidAlarm\r\n• 3X Gather, Stacks, Comps\r\n• 2X Scrap, 1.5X Sulfur\r\n• 2X Crafting, 3X Recycling\r\n• Drone Marketplaces at Ranch & Fishing Villages\r\n• Recyclers at Dome, Cargo Ship, Oil Rigs & Fishing Villages\r\n• Minis spawn on roads, Rhibs spawn on shores\r\n• Test Generators\r\n• Custom events such as Convoy | Armoured Train | Airfield \r\nCargo Plane | Helipad etc\r\n  and more.....\r\n\r\nDedicated Server Protection\r\nActive admins\r\nRun on high performance hardware to maximise server performance",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596271,
    "last_online": 1780640430,
    "icon": null,
    "name": "Valhalla Max 5  3x | Sulf 1.5x",
    "connect": "51.77.107.131:2475",
    "request": "51.77.107.131:2476",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1745482425,
    "last_update": 1780640430,
    "banned": false,
    "wipe": 1780596227,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3112,
    "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/8663138");
$data = json_decode($json, true);
var_dump($data);