JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10534539
json
{
  "response": {
    "fps": 12,
    "fps_avg": 2,
    "entities_count": 107435,
    "world_seed": 1911754487,
    "world_size": 4500,
    "steam_id": "90286604319689747",
    "domain": null,
    "id": 10534539,
    "ip": "66.51.99.28",
    "port": 28018,
    "query": 28019,
    "color": 0,
    "city": "Dallas",
    "description": "![Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid](https://cdn3.mapstr.gg/d0b3ae42e8a839b8fb4689f3be5d4733.png)\nRangers Vanilla PVE Thank you for joining \r\n Don't forget to join Rangers discord click the visit website button \r\n Monthly map wipes with rust force wipe \r\n Blueprints and Backpacks Wipe \r\n Vanilla Gather and Loot \r\n SimplePVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits \r\n Shop \r\n Large Backpack \r\n Raidablebases \r\n Jetpack \r\n Skins \r\n SkillTree \r\n Cooking \r\n VirtualQuarries",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597469,
    "last_online": 1780596813,
    "icon": null,
    "name": "Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid",
    "connect": "66.51.99.28:28018",
    "request": "66.51.99.28:28019",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 60,
    "add_date": 1762518696,
    "last_update": 1780597469,
    "banned": false,
    "wipe": 1780596735,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2697,
    "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/10534539");
$data = json_decode($json, true);
var_dump($data);