music.api¶
Module contents¶
Flask blueprints for loading the app endpoints
api.admin¶
-
music.api.admin.
get_tasks
(user=None)¶
api.api¶
-
music.api.api.
all_playlists_route
(user=None)¶ Retrieve all playlists for a given user
- Parameters
user ([type], optional) – [description]. Defaults to None.
- Returns
All playlists for given user
- Return type
HTTP Response
-
music.api.api.
all_users_route
(user=None)¶
-
music.api.api.
change_password
(user=None)¶
-
music.api.api.
image
(user=None)¶
-
music.api.api.
playlist_get_delete_route
(user=None)¶
-
music.api.api.
playlist_post_put_route
(user=None)¶
-
music.api.api.
run_playlist
(user=None)¶
-
music.api.api.
run_playlist_task
()¶
-
music.api.api.
run_user
(user=None)¶
-
music.api.api.
run_user_task
()¶
-
music.api.api.
run_users
(user=None)¶
-
music.api.api.
user_route
(user=None)¶
api.decorators¶
-
music.api.decorators.
admin_required
(func)¶
-
music.api.decorators.
check_dict
(request_params, expected_args, func, args, kwargs)¶
-
music.api.decorators.
cloud_task
(func)¶
-
music.api.decorators.
gae_cron
(func)¶
-
music.api.decorators.
is_basic_authed
()¶
-
music.api.decorators.
is_logged_in
()¶
-
music.api.decorators.
lastfm_username_required
(func)¶
-
music.api.decorators.
login_or_basic_auth
(func)¶
-
music.api.decorators.
login_required
(func)¶
-
music.api.decorators.
spotify_link_required
(func)¶
-
music.api.decorators.
validate_args
(*expected_args)¶
-
music.api.decorators.
validate_json
(*expected_args)¶
api.fm¶
-
music.api.fm.
daily_scrobbles
(user=None)¶
api.player¶
-
music.api.player.
next_track
(user=None)¶
-
music.api.player.
play
(user=None)¶
-
music.api.player.
shuffle
(user=None)¶
-
music.api.player.
volume
(user=None)¶
api.spotfm¶
-
music.api.spotfm.
count
(user=None)¶
-
music.api.spotfm.
playlist_refresh
(user=None)¶
-
music.api.spotfm.
run_playlist_album_task
()¶
-
music.api.spotfm.
run_playlist_artist_task
()¶
-
music.api.spotfm.
run_playlist_track_task
()¶
-
music.api.spotfm.
run_user
(user=None)¶
-
music.api.spotfm.
run_user_task
()¶
-
music.api.spotfm.
run_users
(user=None)¶
api.spotify¶
-
music.api.spotify.
sort
(user=None)¶
api.tag¶
-
music.api.tag.
delete_tag
(tag_id, user)¶
-
music.api.tag.
get_tag
(tag_id, user)¶
-
music.api.tag.
post_tag
(tag_id, user)¶
-
music.api.tag.
put_tag
(tag_id, user)¶
-
music.api.tag.
run_tag_task
()¶
-
music.api.tag.
tag_refresh
(tag_id, user=None)¶
-
music.api.tag.
tag_route
(tag_id, user=None)¶