JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/783326
json
{
  "response": {
    "fps": 3,
    "fps_avg": 5,
    "entities_count": 93637,
    "world_seed": 1337,
    "world_size": 3750,
    "steam_id": "90286592782376976",
    "domain": null,
    "id": 783326,
    "ip": "45.88.228.101",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Dallas",
    "description": "![US RENEGADE 2x Monthly | SOLO ONLY | 50% Upkeep | No BP Wipe](https://github.com/geosciencegeek/ImageHosting/blob/main/Renegade%20Server%20Banner%201024x512.png?raw=true)\n===Welcome to RENEGADERUST.COM===\r\n\r\nWipe: 1st Thursday of each month @ 2 PM EST\r\nNo BP Wipe\r\n\r\n VIP PERKS - Renegaderust.com\r\n DISCORD - discord.gg/renegaderust\r\n\r\n ===FEATURES===\r\n >/playtowin - Earn points for playtime to purchase FREE VIP\r\n >RAID ALARM - Alerts you via Rust+ when your base is damaged\r\n >50% UPKEEP - For easy upkeep and big bases\r\n >FASTER OIL RIG RESPAWN\r\n >CONVOY EVENT - Armored convoy you can fight for loot\r\n >PREMIUM LOOT TABLES - 2x with junk removed\r\n >SHORT NIGHTS - 5 Minutes \r\n >MORE MINIs AND BOATs SPAWN\r\n >EXTRA - recyclers/repair/research bench at dome, oilrig, fishing, ranch, and cargo\r\n\r\n ===VIP and VIP+ FEATURES=== NO P2W\r\n >AUTO AUTH - Auto auth teammates on TC/locks/turrets\r\n >FURNACE FILLER - Easily load/unload furnaces\r\n >SKINBOX & SKINNER\r\n >BOX SORTER and more...\r\n\r\n  ===RULES===\r\n >No VAC or Steam game bans within 90 days\r\n >No EAC bans within 180 days\r\n >No more than 2 total bans\r\n >No racism or homophobia\r\n >Follow the team limit (max 1), no allies, but may swap teammates\r\n\r\n Complete rules can be found at our website, discord, and /rules in game\r\n [RS-24384639]",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780575271,
    "last_online": 1780575814,
    "icon": null,
    "name": "US RENEGADE 2x Monthly | SOLO ONLY | 50% Upkeep | No BP Wipe",
    "connect": "45.88.228.101:28015",
    "request": "45.88.228.101:28017",
    "map": "discord.gg/RenegadeRust",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 0,
    "add_date": 1682688210,
    "last_update": 1780575814,
    "banned": false,
    "wipe": 1779994594,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10259,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "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/783326");
$data = json_decode($json, true);
var_dump($data);