from django.urls import path
from .views import (
    CustomAuthToken, 
    register_view,
    Verification_view,
    checkServerTime_view,
    get_system_status_view,
    get_exchange_info_view,
    get_order_book_view,
    get_recent_trades_view,
    get_historical_trades_view,
    get_aggregate_trades_view,
    get_klines,
    get_historical_klines,
    get_avg_price_view,
    get_ticker_view,
    get_all_tickers_view
)

app_name = 'gateway'


urlpatterns = [
    path('register', register_view,name='register'), # For register NewUser
    path('login',CustomAuthToken.as_view(),name='Login'), # for login Users
    path('verification/<uid>/<token>',Verification_view.as_view(),name='verification_account'), # This Url For Email verification
    path('checkserver',checkServerTime_view,name="checkServerTime"), # This is just test server live!
    path('sysstatus',get_system_status_view,name="systemstatus"),
    path('exchangeinfo',get_exchange_info_view,name="exchangeinfo"),
    path('getorderbook',get_order_book_view,name="getorderbook"),
    path('getrecenttrades',get_recent_trades_view,name="getrecenttrades"),
    path('gethistoricaltrades',get_historical_trades_view,name="gethistoricaltrades"),
    path('getaggtrades',get_aggregate_trades_view,name="getaggtrades"),
    path('getklines',get_klines,name="getklines"),
    path('gethistoriklines',get_historical_klines,name="getklines"),
    path('getavgprice',get_avg_price_view,name="getavgprice"),
    path('getticker',get_ticker_view,name="getticker"),
    path('getalltickers',get_all_tickers_view,name="getalltickers"),
]