NexusDash-izebra/app/api.py
Aaron Kimbre b6905c9235 fix play key times used on view page
Added early API listener enpionts
2022-03-28 11:01:46 -05:00

28 lines
739 B
Python

from flask import Blueprint, current_app, request
api_blueprint = Blueprint('api', __name__)
@api_blueprint.route('/web', methods=['GET', 'POST'])
def web():
current_app.logger.info(f"API::WEB [DATA] {request.data}")
return
@api_blueprint.route('/game', methods=['GET', 'POST'])
def game():
current_app.logger.info(f"API::GAME [DATA] {request.data}")
return
@api_blueprint.route('/game_content', methods=['GET', 'POST'])
def game_content():
current_app.logger.info(f"API::GAME CONTENT [DATA] {request.data}")
return
@api_blueprint.route('/metrics_data_service', methods=['GET', 'POST'])
def metrics_data_service():
current_app.logger.info(f"API::METRICS DATA SERVICE [DATA] {request.data}")
return