JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677293
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 115357,
    "world_seed": 88297273,
    "world_size": 4000,
    "steam_id": "90286446488922125",
    "domain": null,
    "id": 11677293,
    "ip": "144.34.87.235",
    "port": 28015,
    "query": 28018,
    "color": 0,
    "city": "Maidenhead",
    "description": "![Drafty Kilts EU |Legendarys|Skills|Bases|Dungeons|VQ'S|](https://raw.githubusercontent.com/kayotix08/Drafty-Kits/main/123%20(1).png)\nWelcome to Drafty Kilts! A PVE Server. Here we focus on banter and good community.\r\nA friendly place for both Rust veteran and noob alike.\r\n\r\nNo player or base damage (except in PVE combat)\r\nNo decay or upkeep\r\nMonthly wipe, first Thursday of month.\r\n\r\n- LEVELING SYSTEM with bonuses to Gathering, Crafting, Raids\r\n- Zero tolerance for toxicity\r\n- /Shop to buy Items\r\n- Legendary Weapons\r\n- Starter /Kits\r\n- SkinBox\r\n- Backpacks + Increased Item Stacks\r\n- Personal and Placeable Recyclers\r\n- Use /Remove to fix or alter your builds\r\n- VIP Perks\r\n- A progressively harder content, balanced to give you a fair start and a challenging end game\r\n- PVE Raids, From easy to impossible! (for those brave enough to try it)\r\n- Airfield Event (Easy and Hard)\r\n- Spawn Dungeons right beside you\r\n- Buyable Raids with in game currency. So no waiting around",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780216201,
    "last_online": 1780263028,
    "icon": null,
    "name": "Drafty Kilts EU |Legendarys|Skills|Bases|Dungeons|VQ'S|",
    "connect": "144.34.87.235:28015",
    "request": "144.34.87.235:28018",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 5,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1780216201,
    "last_update": 1780263028,
    "banned": false,
    "wipe": 1778178647,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1813,
    "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/11677293");
$data = json_decode($json, true);
var_dump($data);