JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8390642
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 89869,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90285930149892116",
    "domain": null,
    "id": 8390642,
    "ip": "103.62.51.133",
    "port": 28125,
    "query": 28126,
    "color": 0,
    "city": "Sydney",
    "description": "![[AUS] CrocCopter - Minicopter / Helicopter Training](https://www.dropbox.com/scl/fi/xzpdz0tvgpvc74424r3uw/New_Project.png?rlkey=6w9t8oh53cnur6c84obt5wmn5&st=hevuh8sh&dl=1)\nWelcome to CrocCopter\r\nMinicopter Training Server for Australians\r\nJoin the discord to have unique perks!\r\nServer Features:\r\n• Spawn Minicopters, Helicopters, and Attack Helis\r\n• Explore Custom Maps, Unique Courses, and Training Zones\r\n• Fuel-Free Gameplay\r\nJoin us on Discord: https://discord.gg/DpeezQ9XmD!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776953599,
    "last_online": 1779204019,
    "icon": null,
    "name": "[AUS] CrocCopter - Minicopter / Helicopter Training",
    "connect": "103.62.51.133:28125",
    "request": "103.62.51.133:28126",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2624",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1743673688,
    "last_update": 1779204019,
    "banned": false,
    "wipe": 1778239971,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3210,
    "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/8390642");
$data = json_decode($json, true);
var_dump($data);