JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/6572081
json
{
  "response": {
    "fps": 28,
    "fps_avg": 28,
    "entities_count": 267244,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90284519308743689",
    "domain": null,
    "id": 6572081,
    "ip": "205.178.168.175",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![Rusty Moose |EU Biweekly|](https://cdn.moose.gg/images/server-browser/header.jpg)\nOfficial Rusty Moose EU Biweekly\r\n\r\nWipe Schedule\r\n - Map: Biweekly (every other Thursday) @ 15:00 London Time (unless force wipe)\r\n - Blueprints: Monthly @ Force Wipe\r\n\r\nJoin our Discord server for announcements and to get more involved with the community!\r\n\r\nhttps://moose.gg/vip\r\nhttps://discord.gg/moose\r\n\r\nForce wipes are always on the first Thursday of the month at 2pm EST / 19:00 London time.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775778122,
    "score": 0,
    "last_online": 1776393611,
    "icon": null,
    "name": "Rusty Moose |EU Biweekly|",
    "connect": "205.178.168.175:28010",
    "request": "205.178.168.175:28015",
    "map": "Moose Maps",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 410,
    "maxplayers": 425,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 127,
    "add_date": 1731158577,
    "last_update": 1776393611,
    "banned": false,
    "wipe": 1776348066,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 40,
    "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/6572081");
$data = json_decode($json, true);
var_dump($data);