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
837 B

7 years ago
7 years ago
  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('admin_graphs', admin_graphs, name='admin_graphs'),
  10. path('user_artists/<str:user_id>', get_artist_data, name='get_artist_data'),
  11. path('api/user_genres/<str:user_secret>', get_genre_data, name='get_genre_data'),
  12. path('graphs/genre/<str:client_secret>', display_genre_graph,
  13. name='display_genre_graph'),
  14. path('audio_features/<str:client_secret>', audio_features, name='audio_features'),
  15. path('audio_features/<str:audio_feature>/<str:client_secret>',
  16. get_audio_feature_data, name='get_audio_feature_data'),
  17. ]