Files
srcoder.moe/controller/steam.py
T
Black_Raven 5031ce6120
Build, Test and Push Flask App / docker-build-and-push (push) Successful in 1m8s
Build, Test and Push Flask App / deploy (push) Successful in 1m4s
fix(utils): Add code to MVC model
2026-10-20 20:36:39 +03:00

11 lines
309 B
Python

from utils.steamutils import STEAM_API_KEY, _serve
from flask import Blueprint, jsonify
steam_bp = Blueprint("steam", __name__)
@steam_bp.route("/api/steam/activity")
def steam_activity():
if not STEAM_API_KEY:
return jsonify(ok=False, error="STEAM_API_KEY is not set"), 503
return _serve()