mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00

+ 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>")
|