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.

19 lines
672 B

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