I am fairly new to Python and I have been trying to get the Python Poloniex wrapper to work but am a little unsure about the usage. The Code is posted on Github here
Is someone able to shed a little light on firstly where I put my API Key & Secret?
I am thinking it would go into this section?
class poloniex:
def __init__(self, APIKey, Secret):
self.APIKey = APIKey # Key here?
self.Secret = Secret # Secret here?
Once I have the keys & secret all set up, what is the correct syntax for calling the various functions i.e A balance call or buy call for example?
Is it just api_query('returnBalances') or poloniex.returnBalances('returnBalances')
as an example?
I think a lot of people could use some direction and help on this!