Author

Topic: Progress bar/Coinbase API. (Read 589 times)

legendary
Activity: 1274
Merit: 1004
February 19, 2014, 02:21:58 PM
#4
Thank you elbandi, I have Found this http://pastie.org/pastes/8318722#18,21  

Thanks again.
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
February 19, 2014, 01:22:07 PM
#3
How can i show this (% thing) by using coinbase api (https://coinbase.com/api/doc/1.0/accounts/balance.html) and a set goal.



For example: Goal amount is 1 BTC, How can i show how much % funds i have received in my account.


avoid using 3rd party api from coinbase or blockchain for long term projects. they may suspend u anytime for multiple requests @ their site in short span of time fearing DDOS. if u r sure, u wont hit them every now and then, its fine.
hero member
Activity: 525
Merit: 531
February 19, 2014, 09:18:50 AM
#2
$balance = getbalance(...);
$percent = $balance / $needmoney * 100;
legendary
Activity: 1274
Merit: 1004
February 19, 2014, 06:19:55 AM
#1
How can i show this (% thing) by using coinbase api (https://coinbase.com/api/doc/1.0/accounts/balance.html) and a set goal.



For example: Goal amount is 1 BTC, How can i show how much % funds i have received in my account.
Jump to: