JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11606703
json
{
  "response": {
    "fps": 118,
    "fps_avg": 121,
    "entities_count": 47448,
    "world_seed": 13825,
    "world_size": 3000,
    "steam_id": "90286309221638153",
    "domain": null,
    "id": 11606703,
    "ip": "185.216.145.137",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "City of London",
    "description": "![UNLEASHED 2x [SOLO/DUO/TRIO] FULLWIPED 23.05](https://imgur.com/9Nx3MQa)\nWelcome to Unleashed – Vanilla+ 2x [SOLO/DUO/TRIO] server with unique features! \r\n\r\n  2x Gather Rates \r\n  2x Crafting Speed \r\n  2x Components \r\n  2x Smelting Time \r\n  2x Stacking \r\n  Many electricity BPs unlocked by default \r\n  Longer daytime and faster nights \r\n  Custom maps each wipe \r\n  Group limit: 3 players \r\n  Gambling Wheel & Mini Vendor at Outpost \r\n  Recyclers at all Fishing Villages \r\n  Modified Loot Tables – No junk, only useful loot \r\n  Weekly Wipes \r\n  Active Admins \r\n\r\n  Join our Discord for giveaways and updates: https://discord.gg/UQBB63MuXM",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780549410,
    "last_online": 1780372229,
    "icon": null,
    "name": "UNLEASHED 2x [SOLO/DUO/TRIO] FULLWIPED 23.05",
    "connect": "185.216.145.137:28080",
    "request": "185.216.145.137:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 80,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779915479,
    "last_update": 1780549410,
    "banned": false,
    "wipe": 1779571138,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12257,
    "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/11606703");
$data = json_decode($json, true);
var_dump($data);