mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
336360d509
+ rewrite load all albums + artist logic with itertools.groupby + add a function to convert seconds to string
11 lines
211 B
Python
11 lines
211 B
Python
from flask import Blueprint
|
|
from flask_restful import Api
|
|
|
|
from .resources import Albums
|
|
|
|
api_bp = Blueprint("getall", __name__, url_prefix="/getall")
|
|
api = Api(api_bp)
|
|
|
|
|
|
api.add_resource(Albums, "/<itemtype>")
|