JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11606721
json
{
  "response": {
    "fps": 148,
    "fps_avg": 149,
    "entities_count": 81918,
    "world_seed": 1337,
    "world_size": 4250,
    "steam_id": "90286558315511813",
    "domain": null,
    "id": 11606721,
    "ip": "65.109.112.111",
    "port": 60407,
    "query": 60409,
    "color": 0,
    "city": "Helsinki",
    "description": "![[EU] SweNations PVE [LegendaryWeapon|SkillTree|Events]](https://iili.io/f8rHyrX.jpg)\nWelcome to [EU] SweNations BiWeekly.\r\n\r\nSkaneland is an unique custom map that is not available on any other server, this map is made especially for SweNations, if you have any questions, please visit our discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780147418,
    "last_online": 1780549228,
    "icon": null,
    "name": "[EU] SweNations PVE [LegendaryWeapon|SkillTree|Events]",
    "connect": "65.109.112.111:60407",
    "request": "65.109.112.111:60409",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915479,
    "last_update": 1780549228,
    "banned": false,
    "wipe": 1779038870,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5423,
    "language": "fi",
    "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/11606721");
$data = json_decode($json, true);
var_dump($data);