JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677376
json
{
  "response": {
    "fps": 49,
    "fps_avg": 49,
    "entities_count": 196099,
    "world_seed": 2147483647,
    "world_size": 6000,
    "steam_id": "90286612296975362",
    "domain": null,
    "id": 11677376,
    "ip": "83.223.203.247",
    "port": 28200,
    "query": 28215,
    "color": 0,
    "city": "Reston",
    "description": "![Forbidden](https://cdn.g-portal.com/images/games/rust/ingame-banner.png)\nWelcome to ForBidden-Warriors PVE server where you are safe to lrean the game or to just chill and have fun.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780613657,
    "last_online": 1780633230,
    "icon": null,
    "name": "Forbidden",
    "connect": "83.223.203.247:28200",
    "request": "83.223.203.247:28215",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780216205,
    "last_update": 1780633230,
    "banned": false,
    "wipe": 1780613354,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5439,
    "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/11677376");
$data = json_decode($json, true);
var_dump($data);