JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305935
json
{
  "response": {
    "fps": 48,
    "fps_avg": 47,
    "entities_count": 125673,
    "world_seed": 523322296,
    "world_size": 4500,
    "steam_id": "90286584804363284",
    "domain": null,
    "id": 11305935,
    "ip": "172.240.229.71",
    "port": 28085,
    "query": 28086,
    "color": 0,
    "city": "San Jose",
    "description": "![THE VANILLA NW | NOOB|CASUAL | SOLO DUO TRIO QUAD | LOW POP](https://i.imgur.com/gWpPNCY.jpg)\nWelcome to The Vanilla! We are a community friendly server. Come learn the game, relax, build, explore, hunt, fight, raid, and have fun!\r\n\r\nWe enforce a toxic-free community, and welcome both new and experienced players. Casual friendly. \r\n\r\n SERVER INFO:\r\n - Monthly wipe @ Update \r\n - Vanilla Rust \r\n - NO-DECAY (No upkeep) \r\n - Low-Pop \r\n - Noob-Friendly \r\n - Solo-Friendly \r\n - Groups: Solo, Duo, Trio, Quartet \r\n - Minicopter population increased\r\n - Active Admins \r\n - Discord: https://discord.gg/kxvhS3Y",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779339732,
    "last_online": 1780605037,
    "icon": null,
    "name": "THE VANILLA NW | NOOB|CASUAL | SOLO DUO TRIO QUAD | LOW POP",
    "connect": "172.240.229.71:28085",
    "request": "172.240.229.71:28086",
    "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": 1774592904,
    "last_update": 1780605037,
    "banned": false,
    "wipe": 1778177705,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4427,
    "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/11305935");
$data = json_decode($json, true);
var_dump($data);