JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/445860
json
{
  "response": {
    "fps": 56,
    "fps_avg": 56,
    "entities_count": 114009,
    "world_seed": 1660136606,
    "world_size": 4250,
    "steam_id": 90286585499497500,
    "domain": null,
    "id": 445860,
    "ip": "104.143.3.217",
    "port": 28139,
    "query": 28136,
    "color": 0,
    "city": "Dallas",
    "description": "![LowMac 3x 05/21 |Trio|Mini|Teleport|Backpack](https://i.imgur.com/d8RZy1D.png)\nLowmac 3x is a PVP server geared around having fun and welcoming new players into a non-toxic environment.\r\nINFORMATION\r\n - Last Wipe: 05/21/26 @ 2:00 PM EST\r\n - Next Wipe: 06/04/26 @ 2:00 PM EST\r\n - Max Team Size: 3 players.\r\n - Bi-Weekly Map Wipe\r\n - Monthly BP Wipes\r\n - Vanilla Map - Size: 4250k\r\n - Server Discord: https://discord.com/channels/938943097247776841\r\n - Leave Comments & Suggestions\r\n - Vote for The Next Wipe's Map\r\n - View and Communicate With In-Game Chat\r\nRULES\r\n - Be polite to other players.\r\n - Try not to KoS (Kill on Sight) new players.\r\n - No unnecessary greifing or being toxic.\r\n - Hacking or Aimbotting will result in a permanent server ban.\r\n - Strict Team Limit of 3\r\n - Neutrality is permitted; - alliances/teaming are not.\r\n - No giving away or receiving of bases or loot.\r\n - Two separate groups cannot actively assist each other (in combat or otherwise).\r\n - No more than 3 players raiding/roaming together at any time.\r\nMODS\r\n - Backpacks\r\n - Balanced, Better Loot\r\n - Tier 1 Blueprints Unlocked\r\n - Building Grades\r\n - Fast Crafting\r\n - Random Treasure Events\r\n - Furnace Splitter\r\n - Spawn Kits & Starter Base\r\n - Night Zombies\r\n - NPC Drop Guns: 10% Chance\r\n - Fast Smelt & Recycler\r\n - Server Rewards\r\n - Spawn Minicopter\r\n - Increased Stack Sizes\r\n - Fast, Clear Nights\r\n\r\nHave Fun and We Hope You Enjoy Your Time on The Server!\r\n- LowMac",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779850405,
    "last_online": 1780566633,
    "icon": null,
    "name": "LowMac 3x 05/21 |Trio|Mini|Teleport|Backpack",
    "connect": "104.143.3.217:28139",
    "request": "104.143.3.217:28136",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1630779735,
    "last_update": 1780566633,
    "banned": false,
    "wipe": 1779397497,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2073,
    "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/445860");
$data = json_decode($json, true);
var_dump($data);