def dorolls(t): token, open_id = t.split(';') b = API() b.setDevice('ios') b.setcmd() b.setOpenId(open_id) b.setToken(token) b.login_and_collect() #b.reroll(True) #b.questuntil(77) b.updateAccount()
def dorolls(t=''): a = API() a.setDevice('ios') a.reroll() a.update_rating() b = API() b.setDevice('ios') b.setOpenId(a.open_id) b.setToken(a.token) b.login_and_collect() b.addAccountToDb()
from main import API a = API() a.setDevice('ios') a.setOpenId('5189683') a.setToken('0V36drBk4KzR1tG6QpFCUu5tzxACZ0RY') a.login_and_collect(126) #a.reroll(True) #a.update_rating() #a.questuntil(50) print a.doquest(86) #a.showallaccounts()