TelegramAktienBot/webservice/interface.py

13 lines
313 B
Python
Raw Normal View History

2022-03-14 06:32:16 +00:00
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"