JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8635183
json
{
  "response": {
    "modded": true,
    "fps": 68,
    "fps_avg": 69,
    "entities_count": 77486,
    "world_seed": 93262454,
    "world_size": 3750,
    "steam_id": "90286604206396434",
    "domain": null,
    "id": 8635183,
    "ip": "168.119.9.232",
    "port": 28020,
    "query": 28022,
    "color": 0,
    "city": "Falkenstein",
    "description": "![DRAGON RUST-UA MOD |Raid Base|Skills|NoLimit](https://i.postimg.cc/05n2Cwvh/Dragon-Rust.png)\n■■■■■■■■■■■THE BEST RUST SERVER!■■■■■■■■■■■\r\n■ Welcome to our server! ■\r\n■ Server Features ■\r\n■ TP to Home and Safe Zones!\r\n■ Global Skill System!\r\n■ Resource Stacks 10-X\r\n■ Admin Generators!\r\n■ Home Recycler!\r\n■ Protected Air Drops!\r\n■ Junkyard Event\r\n■ SkinBOX for all players!\r\n■ Kamikaze FPV Drones!\r\n■ Anti-FPV EW Systems!\r\n■ Harbor Event!\r\n■ Arctic Base Event!\r\n■ Recycler at Fishing Villages\r\n■ Gas Station Event!\r\n■ And much more awaits you!\r\n\r\n■ Wipe every week!\r\n■ Global Wipe: 1st–3rd Thursday\r\n■ Map wipe every 2 weeks\r\n\r\n■ No racism, nazism, etc.!\r\n■ Supporters of Russia’s war against Ukraine —\r\n■ Follow the warship!\r\n■■■■■■■■■■■THE BEST RUST SERVER!■■■■■■■■■■■",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780599630,
    "icon": null,
    "name": "DRAGON RUST-UA MOD |Raid Base|Skills|NoLimit",
    "connect": "168.119.9.232:28020",
    "request": "168.119.9.232:28022",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 5,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1745183123,
    "last_update": 1780599630,
    "banned": false,
    "wipe": 1780596742,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1692,
    "language": "de",
    "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/8635183");
$data = json_decode($json, true);
var_dump($data);