JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11670979
json
{
  "response": {
    "fps": 13,
    "fps_avg": 7,
    "entities_count": 70274,
    "world_seed": 452569763,
    "world_size": 3900,
    "steam_id": "90286599069716481",
    "domain": null,
    "id": 11670979,
    "ip": "66.51.99.47",
    "port": 28020,
    "query": 28021,
    "color": 0,
    "city": "Dallas",
    "description": "![BNW Frontier PVE|RaidableBases|Events|Skills|Jetpack](https://cdn.shopify.com/s/files/1/0698/8146/2921/files/BNW-Ambar-Frontier.png?v=1771283410)\nBrave New World  Frontier-Medium Mode PVE\r\n 150% NPC health and damage• No hordes \r\n Relaxed survival experience • Events provide extra challenge \r\n Custom PVE • Progression •80+ Plugins  \r\n RaidableBases • Convoy • Skill Tree up to 2.5x • Jetpacks • Safe Vehicles \r\n and many quality-of-life improvements. \r\n Join us and explore this Brave New World.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780433056,
    "last_online": 1780584634,
    "icon": null,
    "name": "BNW Frontier PVE|RaidableBases|Events|Skills|Jetpack",
    "connect": "66.51.99.47:28020",
    "request": "66.51.99.47:28021",
    "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": 1780180910,
    "last_update": 1780584634,
    "banned": false,
    "wipe": 1778180754,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5803,
    "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/11670979");
$data = json_decode($json, true);
var_dump($data);