Author

Topic: I need help with BTC-E Trade API - Displaying balance. (Read 1159 times)

hero member
Activity: 882
Merit: 1000
It's got electrolytes
you only need to set the parameters:

$key ='';         // your API-key
$secret ='';     // your Secret-key

hero member
Activity: 882
Merit: 1000
It's got electrolytes
Just try $result->funds->btc

Trying to get property of non-object is the error I am getting when I try to use that.



And I'm assuming you've loaded the parameters:

$ key =''; / / your API-key
$ secret =''; / / your Secret-key

Then try $result->success

or

var_dump($result)
hero member
Activity: 882
Merit: 1000
It's got electrolytes
Just try $result->funds->btc
legendary
Activity: 1140
Merit: 1000
The Real Jude Austin
Hello.

I am having one of those moments when I can't do something extremely simple.

All I would to do is use the PHP provided on BTC-E.com to display just my BTC balance only, nothing else.

Here is the example code:
http://pastebin.com/QyjS3U9M

All I want to do is just display BTC balance so that when I run it in command line it just shows the balance of BTC in my BTC-E account.

Very simple but I keep getting array and string and all kinds of bullshit trying to get it to display.

Thanks for your time!
Jump to: