#NEWLINE# def item_basket( api_key = None ) : #NEWLINE# #INDENT# '\n    Returns the current item basket for the current user.\n    \n    :param api_key:\n        API key is required.\n    ' #NEWLINE# if ( api_key is None ) : #NEWLINE# #INDENT# raise USGSApiKeyRequiredError #NEWLINE# #UNINDENT# ( root , body ) = create_root_request ( ) #NEWLINE# el = create_request_type ( body , 'itemBasket' ) #NEWLINE# create_api_key_element ( el , api_key ) #NEWLINE# return tostring ( api_key )