JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10939408
json
{
  "response": {
    "fps": 29,
    "fps_avg": 28,
    "entities_count": 150437,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286224584216589",
    "domain": null,
    "id": 10939408,
    "ip": "168.100.161.193",
    "port": 35015,
    "query": 35016,
    "color": 0,
    "city": "London",
    "description": "![EU Rusty Bear PVE Monthly | Noob Friendly | Low Pop](https://i.ibb.co/G3QRrF4Q/Server-Banner2026.png)\nRusty Bear PVE | PVP Zones \r\n- Map Wipe monthly on the first Thursday. \r\n- Discord: https://discord.gg/rustybear | VIP: rustybear.gg \r\n \r\n- PVE server with PVP at red card monuments and events. \r\n \r\nPlugins include: \r\n• PVE Events | Airfield Event | Harbour Event | NPC Raidable Bases | Plane Crash \r\n• PVE Events | Underwater Events | Sputnik \r\n• Skill Tree – level up your skills to increase your gathering and unlock awesome perks \r\n• Enhanced Items – Find rare enhanced weapons and gear with enhancements – \r\n – Enhanced items can be recycled to get a 50% chance to receive the enhancement item that can then be applied to other items using a repair bench \r\n• Custom NPCs at monuments \r\n• Personal recycler crafting",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778183583,
    "last_online": 1779811227,
    "icon": null,
    "name": "EU Rusty Bear PVE Monthly | Noob Friendly | Low Pop",
    "connect": "168.100.161.193:35015",
    "request": "168.100.161.193:35016",
    "map": "Chernobyl",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768494592,
    "last_update": 1779811227,
    "banned": false,
    "wipe": 1778183991,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2728,
    "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/10939408");
$data = json_decode($json, true);
var_dump($data);