JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11759243
json
{
  "response": {
    "fps": 11,
    "fps_avg": 25,
    "entities_count": 71341,
    "world_seed": 1799317912,
    "world_size": 3500,
    "steam_id": "90286949951734802",
    "domain": null,
    "id": 11759243,
    "ip": "185.228.82.6",
    "port": 25857,
    "query": 6006,
    "project_id": null,
    "color": 0,
    "city": "Hengevelde",
    "description": "![Lazy Legends • Weekly • Vanilla+](https://i.imgur.com/fcchXKE.jpeg)\nLazy Legends is a relaxed EU Rust server.\r\n No toxic griefers, no pay-to-win — just pure Vanilla+ PvP with a chill community.\r\n Build, raid, survive and climb the Battle Pass every week.\r\n\r\n🗓 Wipe: Every Thursday 19:00 CET\r\n🌍 Location: EU West\r\n⚔️ PvP everywhere outside safe zones\r\n🎮 Vanilla+ | Battle Pass | Weekly Challenges\r\n\r\ndiscord.gg/vm7GxusazH",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781196835,
    "last_online": 1781365987,
    "icon": null,
    "name": "Lazy Legends • Weekly • Vanilla+",
    "connect": "185.228.82.6:25857",
    "request": "185.228.82.6:6006",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1780931704,
    "last_update": 1781365987,
    "banned": false,
    "wipe": 1781197126,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2959,
    "language": "nl",
    "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/11759243");
$data = json_decode($json, true);
var_dump($data);