JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11502364
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 188,
    "fps_avg": 199,
    "entities_count": 31964,
    "world_seed": 1337,
    "world_size": 2500,
    "steam_id": "90286214203675673",
    "domain": null,
    "id": 11502364,
    "ip": "51.81.35.187",
    "port": 28016,
    "query": 28016,
    "color": 0,
    "city": "Reston",
    "description": "Rust as Intended A place where skill & hours actually matter, not just numbers\r\n\r\nWipes Monday @4:45 Eastern Time\r\n\r\nFeatures:\r\n- 1.5x Gather Rate\r\n- Team UI Limit of 4 (UI only, no team size cap)\r\n- Removed Junk from Crates & Improved Loot Tables\r\n- Fast Box Respawns\r\n- Faster Craft Times\r\n- Bandit Merge with both Outpost & Fishing Village\r\n\r\nLinks:https://discord.gg/rawoldrecoil\r\n\r\nStaff ALWAYS Active",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779742406,
    "last_online": 1779823819,
    "icon": null,
    "name": "Raw Rust | 1.5x - Main",
    "connect": "51.81.35.187:28016",
    "request": "51.81.35.187:28016",
    "map": "RawRust_Map_By_Killa_Final Vers",
    "gamemode": "Vanilla",
    "version": "2336",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1779207199,
    "last_update": 1779823819,
    "banned": false,
    "wipe": 1779742480,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1235,
    "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/11502364");
$data = json_decode($json, true);
var_dump($data);