JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11502443
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 88769,
    "world_seed": 1106491882,
    "world_size": 4000,
    "steam_id": "90286585590348821",
    "domain": null,
    "id": 11502443,
    "ip": "66.51.96.62",
    "port": 28045,
    "query": 28046,
    "color": 0,
    "city": "Ashburn",
    "description": "![Ascendant 5x - Solo/Duo/Trio](https://www.dropbox.com/scl/fi/ww655m7gurpla6k6nxmjm/Ascendant-5x.jpg?rlkey=5rot8a0h8sucwk7uvtkff3h21&st=37ytb6da&dl=1)\nSolo/Duo/Trio - Group Limit: 3 - No Allies/Truces\r\n5x Gather / Higher Stacksizes\r\nInstant Crafting, Improved Loot, 5x Smelt Speed, Playtime Kits,\r\nItem Shop, Additional Recyclers, Increased Turret/Bag Limits\r\n\r\nWeekly Wipe Thursday at 2pm EST(EDT)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780560266,
    "last_online": 1780579835,
    "icon": null,
    "name": "Ascendant 5x - Solo/Duo/Trio",
    "connect": "66.51.96.62:28045",
    "request": "66.51.96.62:28046",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207200,
    "last_update": 1780579835,
    "banned": false,
    "wipe": 1779992428,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4967,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11502443");
$data = json_decode($json, true);
var_dump($data);