When I try to instantiate Bitbns Object with my API Key and Secret, it fails with server time key error. I know this issue had already been raised but it was closed without any solution. This same issue has happened to me before but it will usually automatically get resolved in a few minutes. This time around it has been persisting for 2-3 days.
When I try to instantiate Bitbns Object with my API Key and Secret, it fails with server time key error. I know this issue had already been raised but it was closed without any solution. This same issue has happened to me before but it will usually automatically get resolved in a few minutes. This time around it has been persisting for 2-3 days.
from bitbnspy import bitbns key = '*' secretKey = '*****' bitbnsObj = bitbns(key, secretKey)
C:\ProgramData\Anaconda3\lib\site-packages\bitbnspy\bitbns.py in init(self, apiKey, apiSecretKey, timeout) 29 response = self.connectionsAdaptor.get('https://api.bitbns.com/api/trade/v1/getServerTime', headers=headers) 30 response = response.json() ---> 31 serverTime = int(response['serverTime']) 32 localTime = int(time.time() * 1000.0) 33 self.timeOffset = localTime - serverTime
KeyError: 'serverTime'