JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305700
json
{
  "response": {
    "fps": 50,
    "fps_avg": 50,
    "entities_count": 121451,
    "world_seed": 828342621,
    "world_size": 4000,
    "steam_id": "90286583260442649",
    "domain": null,
    "id": 11305700,
    "ip": "172.111.51.166",
    "port": 28116,
    "query": 28117,
    "color": 0,
    "city": "Chicago",
    "description": "![Sunnyvale | Solo Duo Trio | Monthly 5/7](https://www.dropbox.com/s/fibbobc32j4kh47/sunnyvale_servers_banner.png?dl=1)\n•Welcome To Sunnyvale Solo Duo Trio Only Vanilla Server!• \r\n  \r\n ♦Wipe Info♦ \r\n Map - Monthly @ Force \r\n BPs - Every 3 Force Wipes | Last BP Wipe 5/7 \r\n  \r\n ♦Features♦ \r\n → Group limit: Solo Duo Trio (3) \r\n → Map Size: 4000 \r\n → Decay Rate: 50% \r\n → Custom Anti Cheat & Group Limit Enforcement \r\n → Daily Server Restart At 1AM EST \r\n → Active Non Playing Staff \r\n  \r\n ♦Links♦ \r\n Website: SunnyvaleServers.com \r\n Discord: discord.gg/Sunnyvale",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778176987,
    "last_online": 1780560627,
    "icon": null,
    "name": "Sunnyvale | Solo Duo Trio | Monthly 5/7",
    "connect": "172.111.51.166:28116",
    "request": "172.111.51.166:28117",
    "map": "discord.gg/Sunnyvale",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592897,
    "last_update": 1780560627,
    "banned": false,
    "wipe": 1778177036,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1887,
    "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/11305700");
$data = json_decode($json, true);
var_dump($data);