JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/4261953
json
{
  "response": {
    "fps": 55,
    "fps_avg": 54,
    "entities_count": 134934,
    "world_seed": 237913280,
    "world_size": 4800,
    "steam_id": 90286604250132500,
    "domain": null,
    "id": 4261953,
    "ip": "156.236.84.31",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "Dallas",
    "description": "![The Cryptid Hollars  PVE/PVP (Warmode)](https://www.dropbox.com/scl/fi/mbkcmw1wswj4jjsgjsm0v/bigfoot-eyes-header-image2.png?rlkey=vutrvxqjh3e19iqynxhkmwiz6&st=yycoqv15&dl=1)\nThe Cryptid Hollars is a PVE-PVP (Warmode)\r\nFriendly Community with Active Admins\r\nWipes Monthly including Blueprints\r\nKits, Personal Attack Helis & Bradleys to call in with Levels\r\nDynamic Monuments, Armored Train, Harbor Event\r\nCraftable Base Recyclers, Remover tool, Bike Drivers\r\nIncreased Animal Populations, Instant Water, Skill Tree\r\nSkins, Sil, Stackable Chests, Dungeons, Store Robbery\r\nKeep your stuff upon death\r\nLots of Events",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780659261,
    "last_online": 1780650032,
    "icon": null,
    "name": "The Cryptid Hollars  PVE/PVP (Warmode)",
    "connect": "156.236.84.31:28035",
    "request": "156.236.84.31:28036",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1715849115,
    "last_update": 1780659261,
    "banned": false,
    "wipe": 1780596649,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9644,
    "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/4261953");
$data = json_decode($json, true);
var_dump($data);