JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7402994
json
{
  "response": {
    "fps": 153,
    "fps_avg": 153,
    "entities_count": 115251,
    "world_seed": 567835,
    "world_size": 4500,
    "steam_id": "90286356481968154",
    "domain": null,
    "id": 7402994,
    "ip": "79.137.98.20",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Gravelines",
    "description": "![Facepunch Playtest](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official development test server owned and operated by Facepunch. Testing may interrupt gameplay and progress could be lost at any time.\r\n\r\nThe Staging Branch in Rust is a separate version of Rust where new updates and features are tested before being published to the main game. To join, launch 'Rust - Staging Branch' from your Steam library.\r\n\r\nSee more at https://rust.facepunch.com/staging",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780051423,
    "last_online": 1780264235,
    "icon": null,
    "name": "Facepunch Playtest",
    "connect": "79.137.98.20:28015",
    "request": "79.137.98.20:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 0,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1737120217,
    "last_update": 1780264235,
    "banned": false,
    "wipe": 1780051741,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3418,
    "language": "fr",
    "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/7402994");
$data = json_decode($json, true);
var_dump($data);