#NEWLINE# def __init__( self , consumer_key , consumer_secret , access_token , access_token_secret ) : #NEWLINE# #INDENT# '\n        Connects to the figshare API.\n        ' #NEWLINE# self . client = OAuth1Session ( consumer_key , consumer_secret , access_token , access_token_secret ) #NEWLINE# self . endpoint = 'http://api.figshare.com/v1/my_data'