JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11510977
json
{
  "response": {
    "fps": 215,
    "fps_avg": 214,
    "entities_count": 49814,
    "world_seed": 128425945,
    "world_size": 3000,
    "steam_id": "90286573732102158",
    "domain": null,
    "id": 11510977,
    "ip": "185.228.82.2",
    "port": 25930,
    "query": 25586,
    "color": 0,
    "city": "Hengevelde",
    "description": "![Da Rudge RPvP|RaidBases|Pass|Kits&Eco](https://i.imgur.com/riosWJe.png)\nWelcome to Da Rudge Hybrid RPvP!\r\nTired of the standard, toxic survival grind and looking for more depth? Da Rudge offers the perfect balance between a friendly Roleplay community and thrilling PVP action!\r\n\r\nOur Core Plugin Features:\r\n• Raidable Bases: Challenge yourself by raiding custom PvE bases!\r\n• BattlePass & Rewards: Level up and earn epic rewards just by playing.\r\n• Economics.\r\n• Kits & QoL: Get a head start with starter kits & larger item stacks.\r\n• A Living World: Watch out for Roaming NPCs and AI road traffic.\r\n\r\nFor VIPs:\r\n• NTeleportation: Less running, more action with /tpr and /home.\r\n• Fair Play: Protected by Anti-Offline Raid & ServerArmour.\r\n\r\nWhether you want to build a peaceful business or dominate the leaderboards, your adventure starts here!\r\n\r\n★ Monthly VIP KIT Giveaway! ★",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779884604,
    "last_online": 1780555234,
    "icon": null,
    "name": "Da Rudge RPvP|RaidBases|Pass|Kits&Eco",
    "connect": "185.228.82.2:25930",
    "request": "185.228.82.2:25586",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353836,
    "last_update": 1780555234,
    "banned": false,
    "wipe": 1779977400,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4998,
    "language": "nl",
    "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/11510977");
$data = json_decode($json, true);
var_dump($data);