JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/686541
json
{
  "response": {
    "fps": 93,
    "fps_avg": 90,
    "entities_count": 117021,
    "world_seed": 206131560,
    "world_size": 4500,
    "steam_id": "90286604756507664",
    "domain": null,
    "id": 686541,
    "ip": "23.94.102.82",
    "port": 28036,
    "query": 28039,
    "color": 0,
    "city": "Dallas",
    "description": "![! The Alamo Texas Monthly](https://hosting.photobucket.com/1aa12785-51be-401b-bc6c-35cf0ef43d30/d634ab03-a0d6-4b61-bc7c-844d97cb8ba4.png)\nThe Alamo Texas Monthly a Volten Gaming Server \r\n Server specific rules and information. \r\n Monthly map \r\n Blueprint Facepunch schedule \r\n Active staff members. \r\n Online since April 2022. \r\n Volten Gaming rules are available on our website.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598072,
    "last_online": 1780621226,
    "icon": null,
    "name": "! The Alamo Texas Monthly",
    "connect": "23.94.102.82:28036",
    "request": "23.94.102.82:28039",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 6,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1670760398,
    "last_update": 1780621226,
    "banned": false,
    "wipe": 1780598077,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1396,
    "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/686541");
$data = json_decode($json, true);
var_dump($data);