btcde icon indicating copy to clipboard operation
btcde copied to clipboard

Implement v4 API functions for Withdrawal

Open peshay opened this issue 3 years ago • 2 comments

peshay avatar Apr 10 '21 12:04 peshay

Hello, nearly same code as for showDeposits which looks like is working for me.

` showWithdrawals()

def showWithdrawals(self, currency, **args):
    """Query on Withdrawals."""
    params = args
    avail_params = [ 'withdrawal_id', 'page' ]
    uri = f'{self.apibase}{currency}/withdrawals'
    p = ParameterBuilder(avail_params, params, uri)
    return self.APIConnect('GET', p)

`

CosmicDuck avatar Mar 17 '22 07:03 CosmicDuck

Can you create a PR for it, with a unit test and documentation about that function in the README?

peshay avatar Mar 17 '22 08:03 peshay