JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10699515
json
{
  "response": {
    "fps": 40,
    "fps_avg": 39,
    "entities_count": 209557,
    "world_seed": 354951279,
    "world_size": 4100,
    "steam_id": "85568392924810512",
    "domain": null,
    "id": 10699515,
    "ip": "141.11.59.17",
    "port": 27141,
    "query": 27142,
    "color": 0,
    "city": "Amsterdam",
    "description": "![Intoxicated ZA Vanilla 3 - 02 Apr](http://intoxicated.games/ingame/banners/vanilla.png)\nThis is a vanilla server, there are no changes to gameplay. Map is only wiped monthly when forced by updates. Blueprints are wiped every 3 months.\nLast wipe: 2 Apr (map only) - Next: 7 May @ Update (map only)\n\nThe admin does not play. There's absolutely no admin influence when it comes to gameplay, unfair advantages, pay to win bullshit or bias towards anyone.\n\nUpdates: intoxicated.games/discord | x.com/IG_bawNg | fb.me/intoxicated",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776076911,
    "score": 0,
    "last_online": 1776832218,
    "icon": null,
    "name": "Intoxicated ZA Vanilla 3 - 02 Apr",
    "connect": "141.11.59.17:27141",
    "request": "141.11.59.17:27142",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 8,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1765122768,
    "last_update": 1776832218,
    "banned": false,
    "wipe": 1775152947,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1333,
    "language": "nl",
    "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/10699515");
$data = json_decode($json, true);
var_dump($data);