JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8743674
json
{
  "response": {
    "fps": 214,
    "fps_avg": 215,
    "entities_count": 131941,
    "world_seed": 473000581,
    "world_size": 4500,
    "steam_id": "90286591049803805",
    "domain": null,
    "id": 8743674,
    "ip": "135.148.151.135",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Warrenton",
    "description": "Welcome To Falkors Retreat 3x PVE \r\nIncreased Gather Rates \r\n3x components and Scrap \r\nLong days and short nights \r\nSkip Nights \r\nEasy, Medium, Hard, Expert, and Nightmare raids \r\nSkill Tree \r\nLeaderboard \r\nWhole Base Workbench \r\nSo much more!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780571070,
    "last_online": 1780572637,
    "icon": null,
    "name": "Falkors Retreat |PVE|Raidable Bases|Skill Tree|",
    "connect": "135.148.151.135:28015",
    "request": "135.148.151.135:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1745916337,
    "last_update": 1780572637,
    "banned": false,
    "wipe": 1779385420,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3174,
    "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/8743674");
$data = json_decode($json, true);
var_dump($data);