JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305599
json
{
  "response": {
    "fps": 52,
    "fps_avg": 52,
    "entities_count": 147918,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90285938898485269",
    "domain": null,
    "id": 11305599,
    "ip": "66.51.96.62",
    "port": 28005,
    "query": 28006,
    "color": 0,
    "city": "Ashburn",
    "description": "![[US]Braz20x FPS+PvE|LEGENDARY GUNS|LEGENDARY ARMOR|](https://i.ibb.co/PZpjTWvG/braz-logo-cabe-alho.png)\n★ CREATED BY THE ORIGINAL DEVELOPER OF 'NECROMANCER WEAPONS' ★\r\n★ VETERAN ADMINISTRATION: OVER 20,000 HOURS IN RUST ★\r\n\r\nExperience a true PVE forged by those who understand the game.\r\n\r\n[+] RPG, COMBAT & EXCLUSIVITY\r\n • WORLD'S HIGHEST Legendary Weapon drop rate!\r\n • Complete Skill Tree & Custom Crafting System\r\n • Legendary Armor with insane bonuses\r\n • Raidable Bases & Unique Custom Events\r\n\r\n[+] SMART RATES (20x)\r\n • Loot: 20x (Explosive!)\r\n • Gather: Balanced & Custom (Healthy Economy)\r\n • Wipe: Biweekly\r\n\r\nJoin a community that values quality, stability, and innovation.\r\nDiscord: https://discord.gg/SsJcfekacJ",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779171170,
    "last_online": 1779194417,
    "icon": null,
    "name": "[US]Braz20x FPS+PvE|LEGENDARY GUNS|LEGENDARY ARMOR|",
    "connect": "66.51.96.62:28005",
    "request": "66.51.96.62:28006",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 5,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1774592892,
    "last_update": 1779194417,
    "banned": false,
    "wipe": 1778193119,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1330,
    "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/11305599");
$data = json_decode($json, true);
var_dump($data);