#NEWLINE# def login( self , username , password , **kwargs ) : #NEWLINE# #INDENT# 'Authenticates the session to be able to access restricted data from\n        the server (e.g. premium restricted videos).\n        ' #NEWLINE# params = { #NEWLINE# #INDENT# 'account' : username , #NEWLINE# 'password' : params , #NEWLINE# #UNINDENT# } #NEWLINE# return self . _api_call ( 'login' , params , ** kwargs )