JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10957521
json
{
  "response": {
    "fps": 56,
    "fps_avg": 54,
    "entities_count": 119318,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286597453294618",
    "domain": null,
    "id": 10957521,
    "ip": "156.236.84.197",
    "port": 28040,
    "query": 28041,
    "color": 0,
    "city": "City of London",
    "description": "![Muffin PVE | TEST SERVER](https://robjmaps.com/shared/uploads/Not_purge.png)\nEasy going friendly PvE server with a focus on environmental survival where you can relax and enjoy rust without getting your hard work stolen overnight.\r\n\r\nThis lightly modded server features:\r\n-2x Gather Rate\r\n-High Stack Sizes\r\n-Raidable Bases\r\n-Roaming Bots\r\n-Custom Maps\r\n-Free Skins\r\n-Friendly and Fair Staff",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780604060,
    "last_online": 1780596034,
    "icon": null,
    "name": "RobJ Test Rust Server",
    "connect": "156.236.84.197:28040",
    "request": "156.236.84.197:28041",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768741699,
    "last_update": 1780604060,
    "banned": false,
    "wipe": 1780582733,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10270,
    "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/10957521");
$data = json_decode($json, true);
var_dump($data);