Пример #1
0
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()
Пример #2
0
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()
Пример #3
0
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()