JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11018134
json
{
  "response": {
    "modded": true,
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 1358,
    "world_seed": 1337,
    "world_size": 1000,
    "steam_id": "90286621574944768",
    "domain": null,
    "id": 11018134,
    "ip": "66.51.99.46",
    "port": 28005,
    "query": 28006,
    "color": 0,
    "city": "Dallas",
    "description": "![RUSTREBELS.COM (US) | TRUE ONEGRID | ONE GRID | TRIO | JUST WIP](https://cdn3.mapstr.gg/1fa252fc987d3f7370a34f70f2771edc.jpg)\nWipe: Every Friday @ 7 PM CDT | Last wipe: 4/6\nMap size: 1000 | BP Wipe: BiWeekly\n\nWelcome to RustRebels OneGrid.\n\nA tiny custom one-grid Rust experience built for fast PvP, quick progression, and constant action.\n\nMap Features:\n• Very small one-grid custom map\n• Fishing Village safe zone\n• Center Water Well recycler PvP\n• Small Oil Rig only\n• Custom vending machine progression\n• Road barrels and balanced crate loot\n• No Outpost, no Bandit, no Large Oil, no Underwater Lab\n\nServer Settings:\n• 2x gather\n• 1.5x sulfur\n• Balanced custom loot\n• 2.5x smelting\n• Faster crafting, but raid/endgame items craft normally\n• Max team: Trio\n• No allies\n• Weekly Friday wipe\n• Biweekly BP wipe\n• Fast decay to keep the map clean\n\nProgression:\nFarm the road, recycle at the Water Well, buy cards and supplies at Fishing Village, then contest Small Oil Rig for the best loot.\n\nSmall map. Big fights. No dead zones.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778855581,
    "last_online": 1780648833,
    "icon": null,
    "name": "RUSTREBELS.COM (US) | TRUE ONEGRID | ONE GRID | TRIO | JUST WIP",
    "connect": "66.51.99.46:28005",
    "request": "66.51.99.46:28006",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1769944472,
    "last_update": 1780648833,
    "banned": false,
    "wipe": 1780099300,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4006,
    "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/11018134");
$data = json_decode($json, true);
var_dump($data);