I've been messing around with an API for a trading website. I'm looking to reduce the amount of calls I have to make (via JSON) to the website so I figure I will assign the results of my call to a variable. My question is this:
ETH_balance = polo.return_balances('ETH')
BTC_balance = polo.return_balances('BTC')
If I assign the API call polo.return_balances('ETH') to ETH_balance, is the variable ETH_balance storing the result of the call or the actual call itself?
Does it hinge on if the API call return's the result?
()is an operator in python.lambda