Graphs and tables for your Spotify account.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
480 B

  1. from django.urls import path, include
  2. from .views import *
  3. app_name = 'api'
  4. urlpatterns = [
  5. path('scan/<str:user_secret>', parse_library,
  6. name='scan'),
  7. path('user_artists/<str:user_secret>', get_artist_data,
  8. name='get_artist_data'),
  9. path('user_genres/<str:user_secret>', get_genre_data,
  10. name='get_genre_data'),
  11. path('audio_features/<str:audio_feature>/<str:user_secret>',
  12. get_audio_feature_data, name='get_audio_feature_data'),
  13. ]