luno / luno-python

Python SDK for the Luno API
MIT License
63 stars 35 forks source link

get_balances() and list_user_trades() returning APIError #30

Closed KeatonSaunders closed 3 years ago

KeatonSaunders commented 3 years ago

I have created my client as:

c = Client(api_key_id=os.getenv('LUNO_API_KEY_ID'), api_key_secret=os.getenv('LUNO_API_KEY_SECRET'))

c.get_tickers(), c.list_trades() return the expected results.

c.get_balances() and c.list_user_trades() return: APIError: ('ErrAPIKeyNotFound', 'API key not found').

I see in the code: Permissions required: Perm_R_Orders. What can I do to get this to work?

Thanks.