JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10942523
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 287971,
    "world_seed": 790297558,
    "world_size": 3850,
    "steam_id": "90284352911836170",
    "domain": null,
    "id": 10942523,
    "ip": "64.40.8.14",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Stevious 2x Mondays | Vanilla | 4/13](https://cdn.rustlegends.com/Stevious_2x_header.png)\nWeekly wipes and the following modifications: \r\n\r\n2x Gather Rates (2.5x for Sulfur and Wood) \r\nHalf smelt and crafting speeds (Vanilla for raiding items) \r\nBuilding and Level 1 Workbench blueprints unlocked \r\nComponent System loot tables (Junk items removed) \r\n\r\nVisit https://stevious.io for VIP (Queue Skip) and Rules / Discord information.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776234010,
    "icon": null,
    "name": "[US] Stevious 2x Mondays | Vanilla | 4/13",
    "connect": "64.40.8.14:28010",
    "request": "64.40.8.14:28015",
    "map": "Wiped 34 hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 187,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 95,
    "add_date": 1768500043,
    "last_update": 1776234010,
    "banned": false,
    "wipe": 1776110316,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 108,
    "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/10942523");
$data = json_decode($json, true);
var_dump($data);