from django.conf.urls import url
from LCH_manager import views

urlpatterns = [
    url(r'^player/(?P<player_id>\w+)/$', views.player, name='player'),
    url(r'^team/(?P<team_id>\w+)/$', views.team, name='team'),
    url(r'^match/(?P<match_id>\w+)/$', views.match, name='match'),
    url(r'^country/(?P<country_name>\w+)/$', views.country, name='country'),
    url(r'^leader_board/(?P<top>\w+)/$', views.leader_board, name='leader_board'),
    url(r'^matches/(?P<page_num>\w+)/$', views.matches_in_group, name='matches'),
    url(r'^toss/$', views.automatization, name='toss'),
    url(r'^countries/$', views.countries, name='countries'),
]
