Files
spotify-lib-vis/graphs/urls.py
Kevin Mok fa2c5f7008 Export listening history to csv (#57)
Still need to convert timestamps to more CPU-readable format and figure
out what to do about reading headers for importing.
2018-11-06 22:58:38 -05:00

18 lines
661 B
Python

from django.urls import path, include
from .views import *
app_name = 'graphs'
urlpatterns = [
path('artists/<str:user_secret>', display_artist_graph,
name='display_artist_graph'),
path('genre/<str:user_secret>', display_genre_graph,
name='display_genre_graph'),
path('audio_features/<str:user_secret>', display_features_graphs,
name='display_audio_features'),
# path('history/<str:user_secret>', display_history_table,
# name='display_history_table'),
# path('history/', display_history_table, name='display_history_table'),
path('history/', HistoryList.as_view(), name='display_history_table'),
]