shrimpy-python
shrimpy-python copied to clipboard
Trouble getting Users users: {'error': 'Invalid IP address, API Key, or signature'}
I am using this code:
import shrimpy public_key = 'xxxxxx' secret_key = 'xxxxxxxx' client = shrimpy.ShrimpyApiClient(public_key, secret_key) users = client.list_users() print("\n users: " + str(users))
Getting this error:
users: {'error': 'Invalid IP address, API Key, or signature'}
I just generated ne API keys. What am I missing?
Same problems here as well!
Can we get any help on this?
I am still trying to get this working. I generated new API Keys again. I am getting response for "supported_exchanges" and "ticker" but for the "users" I am still getting the error: users: {'error': 'Invalid IP address, API Key, or signature'}
Did anyone get this working recently. Developers PLEASE HELP!
See my code below:
import shrimpy
public_key = 'xxxxxx' secret_key = 'xxxxxxxxxx'
client = shrimpy.ShrimpyApiClient(public_key, secret_key) #alloc = shrimpy.allocation()
supported_exchanges = client.get_supported_exchanges() print("\n supported_exchanges: " + str(supported_exchanges))
ticker = client.get_ticker('binanceus') print("\n ticker: " + str(ticker)) #Get all Coin data on Binance
users = client.list_users() print("\n users: " + str(users))
@atka007 I'm not Shrimpy team, but are you using the API key from https://dashboard.shrimpy.io/ or are you using the key from https://developers.shrimpy.io/dashboard/? Because only the latter works. I don't know what the API key of the former is used for lolol
HAHAH this whole time I thought I need the API for my trading account. Using the Dev Account API keys works. Thank you very much. I wish that was clearer in the Doc.