示例#1
0
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.exportCode()
        a.getAllGifts()
        a.freeunits(10)
        #a.gacha(4,10,434,133,2)
        #a.gacha(2,10,565,141,2)
        a.getPlayer()
        a.exportPlayer()
    except:
        pass
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.getAllGifts()
        a.finishTutorial()
        a.getPlayer()
        if a.playerdata['player']['jewel'] == 97:
            a.gacha(10, 10, 597, 171, 2)
            a.gacha(10, 10, 434, 133, 2)
            a.gacha(10, 10, 598, 171, 2)
            a.freeunits(5)
        a.getPlayer()
        a.exportPlayer('selling.csv')
    except:
        pass
from main import API

logins = '''2841C7DF-B399-4980-B320-EDBB3FCD406B,ecbedae6-75ef-41ab-9da4-bbae58a5d132,231352606796,ios,user: 231352606796 code: ed4abnaee9mcpl5e,0,,'''

for l in logins.split('\n'):
    l = l.split(',')
    a = API()
    a.setuserId(l[2])
    a.setuuid(l[1])
    a.setconsumeId(l[0])
    a.login()
    a.getAllGifts()
    a.finishTutorial()
    a.getPlayer()
    #a.freeunits(10)
    a.getPlayer()
    a.exportPlayer('selling.csv')
from main import API

while(1):
	#try:
		a=API()
		a.reroll()
		a.exportPlayer()
	#except:
	#	pass