JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9631351
json
{
  "response": {
    "fps": 58,
    "fps_avg": 56,
    "entities_count": 139981,
    "world_seed": 1583952840,
    "world_size": 4250,
    "steam_id": "90286582505156626",
    "domain": null,
    "id": 9631351,
    "ip": "83.147.29.183",
    "port": 28065,
    "query": 28066,
    "color": 0,
    "city": "City of London",
    "description": "![Rustyfarians PVE 2x - |Kits|TP|Custom Plugins|Purge](https://imgur.com/IAPLLVz.jpg)\n~ WELCOME TO RUSTYFARIANS PVE ~ \r\n \r\n- Friendly PvE Server Focused On Community & Building & Helping Others, where players cannot hurt or raid each other \r\n- PvP Purge Event 1 Day Before Wipe\r\n- New player friendly \r\n- monthly wipe schedule except long months which are split 3-week, 2-week instead  \r\n- DLC Kits \r\n- Custom Cargo train event \r\n- Reduced Upkeep \r\n- Roaming Bradley APC \r\n- Work carts, Fruit machines and Poker \r\n- Raidable bases 4 difficulty levels \r\n- Attack Helicopter 3 level Difficulty \r\n- Helicopter protection, learn to fly minicopters without dying \r\n- Zombie Hordes \r\n- Startup Kits \r\n- Increased Stack Sizes \r\n- Remover Tool \r\n- Teleport \r\n- Unburnable Meat \r\n- Extended Workbench \r\n- Furnace Splitter \r\n- Backpacks \r\n- Quests \r\n- Player Leaderboard \r\n- Server Rewards Shop \r\n- Instant Craft \r\n- Personal Recyclers \r\n- Private Quarries \r\n- Private Crops \r\n- Auto Upgrade  \r\n- Faster Recycling Speed \r\n- Sign Artist \r\n- Longer Days Shorter Nights & Much More \r\n- Buy commands with RP in the Server Reward Shop and call in Attack Helicopter, Spawn Minicopters, Spawn RHIB Boats, Horses and more \r\n- Please Act in a Mature Manner as any sort of flaming attitude or being disrespectful towards others will not be tolerated \r\n- More info/updates can be found on our Discord Channel https://discord.gg/W8vQYUa \r\n Have Fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780549468,
    "last_online": 1780552234,
    "icon": null,
    "name": "Rustyfarians PVE 2x - |Kits|TP|Custom Plugins|Purge",
    "connect": "83.147.29.183:28065",
    "request": "83.147.29.183:28066",
    "map": "Procedural",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750864455,
    "last_update": 1780552234,
    "banned": false,
    "wipe": 1778177872,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3055,
    "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/9631351");
$data = json_decode($json, true);
var_dump($data);