JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/448791
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 208186,
    "world_seed": 430736190,
    "world_size": 5100,
    "steam_id": "90286546842295308",
    "domain": null,
    "id": 448791,
    "ip": "74.91.125.199",
    "port": 28017,
    "query": 28018,
    "color": 0,
    "city": "Chicago",
    "description": "![|US| Paradise Island |PvE/PvP|Zones|Zombies|zLevels|Raid Protec](https://i.imgur.com/kKhvS7o.png)\nCheckCheck Out This PvE Server With PvP Zones - We Have A Little Bit Of Everything, For Everyone Whether You're A PVP Monster, PvE Farmer, Or A RP Wizard, We Have Something For You.\r\n   -- Bi-Weekly Wipe -- 24hr purge Mid, 48hr at Forced\r\n  -- Decay Set for Server Performance\r\n  -- Raid-Protection For 36 Hours\r\n  -- Custom AI At All Monuments, And Zombie King!\r\n  -- Friends List And Clans\r\n  -- Gathering Levels For Incremental Gathering\r\n  -- Increased Stacks\r\n  -- Quests For Server Rewards\r\n  -- Active Admins To Resolve Issues\r\n \r\n The Server Has Been Optimized With Numerous Plugins\r\n  - Custom Loot Tables\r\n  - Set Homes, Teleports, and Town\r\n  - Backpacks and Banks\r\n  - Server Rewards With A Store To Redeem Points and License's\r\n  - Recyclers\r\n  - Quarrys With Quarry Locks\r\n  - Fishing, Skinbox, License And Much More!\r\n \r\n Our Rules Are Set To Provide A Fun Environment\r\n  - Absolutely No Racism, Sexism, Trolling, Player/Staff Disrespect, Or Hate Speech\r\n  - Voice Or Chat Spamming Will Result in Mutes\r\n  - Scripts, Cheats, Use Of Exploits, Or Bots Will Result In A Perm Ban\r\n  - Griefing Other Players Is Prohibited\r\n  - A Full List Of Rules For Paradise Island Can Be Found Inside.\r\n \r\n Server Is US East Based EST. GMT -5\r\n Questions, Comments, Concerns? Message Us On Discord!\r\n \r\n Website - Under Construction\r\n https://www.paradiseislandrust.com\r\n \r\n Discord\r\n https://discord.gg/paradiseislandrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780383852,
    "last_online": 1780552227,
    "icon": null,
    "name": "|US| Paradise Island |PvE/PvP|Zones|Zombies|zLevels|Raid Protec",
    "connect": "74.91.125.199:28017",
    "request": "74.91.125.199:28018",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1630779813,
    "last_update": 1780552227,
    "banned": false,
    "wipe": 1779400967,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1850,
    "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/448791");
$data = json_decode($json, true);
var_dump($data);