import api class Player(): def __init__(self): self.id=-1 self.name=None self.level=0 self.myroids=[] class Myroid(): self.id=-1 self.name=None self.outfit={} a=api.top() b=api.login('P-val needs adding','user','pass') def instastudy(studyid): api.startstudy(studyid) api.reducetime(2)