JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7562732
json
{
  "response": {
    "modded": true,
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 340074,
    "world_seed": 1337,
    "world_size": 4750,
    "steam_id": "90284526535190547",
    "domain": null,
    "id": 7562732,
    "ip": "168.100.161.39",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![Atlas - EU 2X Medium | Vanilla+ | No BP Wipes](https://cdn.atlasrust.com/images/servers/eu2x-medium-thumbnail.jpg)\nAtlas Rust Servers | Made for the most competitive\r\n\r\nMap Wipes: 1st, 3rd & 5th Thursday of every month\r\n7PM Force wipe | 5PM Bi-weekly\r\nBlueprints Wipes: N/A (does not wipe ever)\r\n\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\n\r\nFeatures\r\n• 2x Gather\r\n• 2x Loot (removed junk)\r\n• Free QoL\r\n• No paid features\r\n\r\n24 hours discord staff support",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775970712,
    "score": 0,
    "last_online": 1776376809,
    "icon": null,
    "name": "Atlas - EU 2X Medium | Vanilla+ | No BP Wipes",
    "connect": "168.100.161.39:28010",
    "request": "168.100.161.39:28015",
    "map": "discord.gg/atlasrust",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 889,
    "maxplayers": 900,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 160,
    "add_date": 1739440465,
    "last_update": 1776376809,
    "banned": false,
    "wipe": 1776355109,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 17,
    "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/7562732");
$data = json_decode($json, true);
var_dump($data);