JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/6966394
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 76152,
    "world_seed": 1897507005,
    "world_size": 3500,
    "steam_id": "90286588510496783",
    "domain": null,
    "id": 6966394,
    "ip": "76.22.43.65",
    "port": 58015,
    "query": 58016,
    "color": 0,
    "city": "Kent",
    "description": "![HZ Casual Rust | 1X Hybrid PvP/PvE | Chill/Noob Friendly](https://www.dropbox.com/scl/fi/7xri3u93lc86nor73nffv/rustbanner.png?rlkey=mmsrifi64jwj21pz49dk8giaf&dl=1)\n*May mid-month wipe: Size 3500 + all monuments*\n\nA chill, tastefully-modded hybrid PvP/PvE server for casual and new players:\n- biweekly hand-selected/custom maps\n- monthly BP wipes\n- no steamrolling / harassment / bigotry / toxicity / stream sniping / cheating\n\nCustomizations:\n- PVP at monuments/events/bases only\n- Offline Raid Protection (including modular boats)\n- Raidable Bases\n- recyclers at all safe zones\n- Player Ranks in-game and in Discord\n- zombies in higher tier areas only\n- various quality-of-life mods\n\nJoin our Discord via the webpage link for detailed status/discussion.\n\nrs01jPZaozJ^0rAi4000Yo",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780563869,
    "last_online": 1780571435,
    "icon": null,
    "name": "HZ Casual Rust | 1X Hybrid PvP/PvE | Chill/Noob Friendly",
    "connect": "76.22.43.65:58015",
    "request": "76.22.43.65:58016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1734715490,
    "last_update": 1780571435,
    "banned": false,
    "wipe": 1779386627,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2855,
    "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/6966394");
$data = json_decode($json, true);
var_dump($data);