<filename>api/urls.py<gh_stars>0
from django.urls import path

from . import views

urlpatterns = [
    path("", views.index, name="index"),
    path("<str:server>/<str:summoner_name>/", views.user_info),
    path("<str:server>/<str:summoner_name>/tmp/<str:game_id>/", views.get_game_data),
]

<filename>api/urls.py<gh_stars>0
from django.urls import path

from . import views

urlpatterns = [
    path("", views.index, name="index"),
    path("<str:server>/<str:summoner_name>/", views.user_info),
    path("<str:server>/<str:summoner_name>/tmp/<str:game_id>/", views.get_game_data),
]
