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.

16 lines
628 B

  1. from django.urls import path, include
  2. from django.conf.urls import url
  3. from .views import *
  4. urlpatterns = [
  5. path('', index, name='index'),
  6. path('login', login, name='login'),
  7. path('callback', callback, name='callback'),
  8. path('user_data', user_data, name='user_data'),
  9. path('test_db', test_db, name='test_db'),
  10. path('user_artists/<str:user_id>', get_artist_data, name='get_artist_data'),
  11. path('user_genres/<str:user_secret>', get_genre_data, name='get_genre_data'),
  12. path('audio_features/<str:audio_feature>/<str:client_secret>',
  13. get_audio_feature_data, name='get_audio_feature_data'),
  14. ]