#NEWLINE# @ base . apimethod #NEWLINE# def get( self , state = None , cursor = None , per_page = None ) : #NEWLINE# #INDENT# '\n        Fetch all your coupons.\n\n        :var state: The state of coupons to return: "redeemable", "expired"\n            or "maxed_out".\n        :vartype state: str\n        ' #NEWLINE# params = base . get_params ( ( 'state' , 'cursor' , 'per_page' ) , locals ( ) ) #NEWLINE# request = http . Request ( 'GET' , self . get_url ( ) , params ) #NEWLINE# return ( request , parsers . parse_xml )