Closed torquemada163 closed 6 years ago
BitfinexRest
is the API class - it does no additional wrapping or insertion of parameters for you (except signature generation) hence, you need to do this:
b = BitfinexREST(version
'v1')
b.load_key('key_file')
response = b.query('GET', 'pubticker/btcusd')
print(response)
If you're going to use the API classes, I suggest you familiarize yourself with the code and its doc strings. Thanks for using bitex!
I insert in file ..api/REST/api.py string print(url) in:
This is my example:
And I see this in terminal:
If I did how write in docs: https://i.imgur.com/hkJfWh0.jpg
response = b.query('GET','pubticker', params={'symbol': 'BTCUSD'})
I see the same output..... What is wrong?