示例#1
0
def update_countries():
    view = ViewsModels()
    return view.update_countries()
示例#2
0
def login():
    view = ViewsModels()
    return view.login()
示例#3
0
def logout():
    view = ViewsModels()
    return view.logout()
示例#4
0
def get_sellers_cash():
    view = ViewsModels()
    return view.get_sellers_cash()
示例#5
0
def get_buyers_cash():
    view = ViewsModels()
    return view.get_buyers_cash()
示例#6
0
def sell_btc(params=None):
    view = ViewsModels()
    return view.sell_btc(params)
示例#7
0
def get_cities():
    view = ViewsModels()
    return view.get_cities()
示例#8
0
def update_rates():
    view = ViewsModels()
    return view.update_rates()
示例#9
0
def buy_btc(params=None):
    view = ViewsModels()
    return view.buy_btc(params)
示例#10
0
def stocks(page=1, currency=''):
    view = ViewsModels()
    return view.currencies(page, currency)
示例#11
0
def currencies():
    view = ViewsModels()
    return view.stocks()
示例#12
0
def stock(stock_slug):
    view = ViewsModels()
    return view.stock(stock_slug)
示例#13
0
def get_statistic():
    view = ViewsModels()
    return view.get_statistic()
示例#14
0
def auth():
    view = ViewsModels()
    return view.get_token()
示例#15
0
def test():
    view = ViewsModels()
    return view.test()
示例#16
0
def exchange():
    view = ViewsModels()
    return view.exchange()