JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11717885
json
{
  "response": {
    "fps": 189,
    "fps_avg": 180,
    "entities_count": 99686,
    "world_seed": 892217654,
    "world_size": 4000,
    "steam_id": "90286627768254465",
    "domain": null,
    "id": 11717885,
    "ip": "98.142.2.118",
    "port": 3311,
    "query": 28015,
    "color": 0,
    "city": "Ashburn",
    "description": "![Survivors Cove PVE CustomAI|Contracts|NPC Bases|Convoys|Drugs|L](https://www.survivorscove.com/image/banner/server-banner.jpg)\n\r\nTired of getting offlined but still looking for a challenging Rust experience? Join Survivor's Cove, a unique PVE server that strives to substitute the lack of PVP with engaging and rewarding PVE content.\r\n\r\n=> Custom AI: Custom NPCs roam monuments to bring an extra challenge\r\n=> Contracts: Complete quests that rotate periodically for rewards\r\n=> Raidable Bases: 200+ bases for you to raid for loot and money\r\n=> Convoys: NPC convoys roam the roads with valuable loot to steal\r\n=> Drugs: Grow your drug empire throughout the wipe with a variety of drug types\r\n=> Economy: Earn money doing activities and spend it on various perks\r\n=> Levels: Earn up to 2x gather rates and instant crafting by leveling up\r\n=> Teleportation: Teleport to friends, bases and safe zones with ease\r\n=> Backpack: Permanent extra storage for your items so you can loot more\r\n=> License: Purchase permanent access to indestructible vehicles\r\n=> Kits: Give yourself a headstart with kits\r\n=> Custom Loot: All loot has been reworked to provide a better risk/reward experience suited for PVE\r\n\r\nWipes monthly with a blueprint wipe every 2 months.\r\nDiscord: https://discord.survivorscove.com/",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596862,
    "last_online": 1780659630,
    "icon": null,
    "name": "Survivors Cove PVE CustomAI|Contracts|NPC Bases|Convoys|Drugs|L",
    "connect": "98.142.2.118:3311",
    "request": "98.142.2.118:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780324091,
    "last_update": 1780659630,
    "banned": false,
    "wipe": 1780597375,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5669,
    "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/11717885");
$data = json_decode($json, true);
var_dump($data);