JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/5941425
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 91572,
    "world_seed": 1348125104,
    "world_size": 4250,
    "steam_id": "90286581877212183",
    "domain": null,
    "id": 5941425,
    "ip": "94.130.50.249",
    "port": 20228,
    "query": 27016,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Rusty8 | 2x Monthly | Quads](https://i.ibb.co/YTbNSSTQ/r8svrheader.png)\nServer Info:\r\n➤ Map Size: 4250x\r\n➤ Max Team Size: 4\r\n➤ Next Wipe: 01/01/26 (Wipes Monthly!)\r\n➤ 2x Loot & Gather Rates (Vanilla Sulfur Rates)\r\n➤ 2x Crafting, Recycle & Furnace Speeds\r\n➤ Custom Anti-Cheat & Active Non-playing Staff\r\n➤ Refined Loottable: No Junk Loot!\r\n➤ No Recent EAC Bans (Within The Last Year)\r\n\r\nServer Features:\r\n➤ 50% Reduced Upkeep: Maintain larger bases with ease\r\n➤ Long Days & Short Nights: Spend Less Time Hiding Inside Your Base ;)\r\n➤ Extra Recyclers & Drone Markets at monuments (Oil, Barns, Fishing Villages)\r\n➤ Personal Stats: Track Your In-game stats using /stats\r\n➤ Extended Workbench: Enjoy Increased workbench usage throughout your base.\r\n➤ Teleportation: Use /Home, /Outpost & /Bandit for fast travel (Limits & Cooldowns)\r\n➤ /Boosters: Use to Activate Farming % Multipliers (Wood, Stone, Metal & Sulfur)\r\n➤ Playtime Rewards: Earn $ for playtime, Use in /Shop for Items, Perks & Ranks)\r\n➤ Base Value Rankings: Compete for the Top Base Value for End Of Wipe Rewards!\r\n➤ Frequent Events: Stay engaged with regular in-game server events\r\n➤ Account Link: use “/Link” In-game to unlock /Skinbox, Extra Kits & Perks\r\n---\r\nJoin Rusty8 today and enjoy the best of Rust with our many custom quality-of-life features, without compromising the core gameplay & mechanics. View the full list of commands and perks in-game using /Help & /Commands! & Checkout Our Discord @ Discord.gg/CV5ZatskYp",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780547669,
    "last_online": 1780549226,
    "icon": null,
    "name": "Rusty8 | 2x Monthly | Quads",
    "connect": "94.130.50.249:20228",
    "request": "94.130.50.249:27016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1726346652,
    "last_update": 1780549226,
    "banned": false,
    "wipe": 1778939475,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6175,
    "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/5941425");
$data = json_decode($json, true);
var_dump($data);