JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/445951
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 107531,
    "world_seed": 1966318168,
    "world_size": 4250,
    "steam_id": "90284383829838878",
    "domain": null,
    "id": 445951,
    "ip": "104.143.3.251",
    "port": 28259,
    "query": 28256,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Active Rush PvE No Raid No Decay](https://i.imgur.com/yhUrfbl.png)\nFriendly PvE/PvP server for beginners and veteran players alike. A perfect transition server for those learning the game. A modded server but with a vanilla feel!\r\n\r\nFeatures:\r\n ♦Active admins\r\n ♦Full Monthly Map & BP Wipes\r\n ♦PvE map with PvP monument zones\r\n ♦Convoy & Defendable Bases\r\n ♦Lightly Modded (See website for details)\r\n ♦Raidable Bases 24/7\r\n ♦Admin built community areas\r\n ♦Community Discord https://discord.gg/aqhH6qZx8D\r\n\r\nRules:\r\n -Be polite. PvP is allowed in designated areas.\r\n No Cheating!\r\n -Invite and play with your friends.\r\n -Have fun and enjoy.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775556128,
    "score": null,
    "last_online": 1776238217,
    "icon": null,
    "name": "[US] Active Rush PvE No Raid No Decay",
    "connect": "104.143.3.251:28259",
    "request": "104.143.3.251:28256",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1630779738,
    "last_update": 1776238217,
    "banned": false,
    "wipe": 1775556247,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2318,
    "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/445951");
$data = json_decode($json, true);
var_dump($data);