JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10412151
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 79179,
    "world_seed": 1337,
    "world_size": 3300,
    "steam_id": "90286733921591320",
    "domain": null,
    "id": 10412151,
    "ip": "136.243.135.46",
    "port": 28045,
    "query": 28046,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![RustyNoobs | Solo only | No BP Wipe | Vanilla Monthly](https://www.dropbox.com/scl/fi/dvg04zzd03szlrnbfix1w/gfdgd.png?rlkey=jaagidlz49eumlmmf27wth0yt&st=ccb0561a&dl=1)\nWelcome to RustyNoobs! Looking for that classic Rust feeling without the stress of big clans? You found your home. We offer a chill, pure vanilla experience specifically for the lone wolf.\r\n\r\n  Server Info \r\n • BP Wipe: Never \r\n • Map Wipe: Monthly (Next: July 2th 20:00 CEST) \r\n • Community: Friendly & chill players \r\n \r\n  SOLO-FRIENDLY FEATURES \r\n • Minicopters spawn on roads\r\n • True Vanilla Gameplay Solo Only\r\n • 50% upkeep\r\n • Outpost & Bandit Camp combined \r\n • Recyclers at Barns & Fishing Villages \r\n \r\n RULES & SECURITY\r\n• SOLO ONLY: Teaming results in a permanent ban. \r\n• Report Use F7 or open a ticket on our Discord.\r\n• Active Anti-Cheat.\r\n• Daily Restart: Server restart at 03:00 CEST for peak performance. \r\n\r\n • Join our Discord for support, reports, and map votes\r\n • Enjoy And have Fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780130561,
    "last_online": 1780910426,
    "icon": null,
    "name": "RustyNoobs | Solo only | No BP Wipe | Vanilla Monthly",
    "connect": "136.243.135.46:28045",
    "request": "136.243.135.46:28046",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1759823708,
    "last_update": 1780910426,
    "banned": false,
    "wipe": 1780596265,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1624,
    "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/10412151");
$data = json_decode($json, true);
var_dump($data);