Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501034
json
{
  "response": {
    "fps": 103,
    "fps_avg": 107,
    "entities_count": 100505,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286089869565975",
    "domain": null,
    "id": 11501034,
    "ip": "94.130.49.244",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[GER-PVE] Zeltplatz |Events|Raidable Bases|XP|](https://www.chapter80.de/rust/header.png)\nZeltplatz – PvE zum Durchatmen, Events zum Durchdrehen. Hab Spaß und sei respektvoll! Jeder Besucher ist bei uns VIP - ganz ohne Zusatzkosten. \r\n  \r\n Folgende Plugins sind bei uns im Einsatz: \r\n  \r\n - Zeltplatz Tablet (selbst programmiert) \r\n - Teleport UI (selbst programmiert) >> basiert auf NTeleportation \r\n - TCResourceProtection (selbst programmiert) \r\n - SkipNight Vote UI (selbst programmiert) \r\n - Backpacks \r\n - BetterNPCs \r\n - BetterTC \r\n - NPCSpawn \r\n - Kits \r\n - Hammertime \r\n - ChestStacks \r\n - Hud \r\n - Shop \r\n - Vehicle Shop \r\n - Skinbox \r\n - Skybase \r\n - StackSizeController \r\n - SimpleSplitter \r\n - NoEscape \r\n - u.v.m \r\n  \r\n Event Plugins: \r\n  \r\n - Airfield Event \r\n - Bradley Drops \r\n - Caravan \r\n - CargoPlane Crash \r\n - Dungeon Bases \r\n - Gasstation Event \r\n - Heli Drops \r\n - Raidable Bases \r\n - Skilltree \r\n - SkilltreeXP Event \r\n - Sputnik \r\n - Supermarket Event \r\n ...weitere werden nach Bedarf hinzugefügt",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780572819,
    "last_online": 1779913226,
    "icon": null,
    "name": "[GER-PVE] Zeltplatz |Events|Raidable Bases|XP|",
    "connect": "94.130.49.244:28015",
    "request": "94.130.49.244:28017",
    "map": "Zeltplatz",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207166,
    "last_update": 1780572819,
    "banned": false,
    "wipe": 1778365878,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11128,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11501034");
$data = json_decode($json, true);
var_dump($data);