TelegramAktienBot/webservice/interface.py

13 lines
313 B
Python

import os
from flask import Blueprint
interface = Blueprint('interface', __name__, url_prefix='/api/v1/resources/devices')
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
# Return all tags
@interface.route('/', methods=['GET'])
def get_tags():
return "Konfiguration"