Bitcoin Forum
December 14, 2017, 05:24:10 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Progress bar/Coinbase API.  (Read 465 times)
escrow.ms
Legendary
*
Offline Offline

Activity: 1106

GPG Key-ID: B82BA7E1 | I don't use skype.


View Profile
February 19, 2014, 11: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.

Please click here to know why I have negative feedback. https://21.co/escrow/
Tip address: 1nPfxnncZqWvVP4UHT6XLfNzfaik7akQS
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513272250
Hero Member
*
Offline Offline

Posts: 1513272250

View Profile Personal Message (Offline)

Ignore
1513272250
Reply with quote  #2

1513272250
Report to moderator
elbandi
Hero Member
*****
Offline Offline

Activity: 495


View Profile
February 19, 2014, 02:18:50 PM
 #2

$balance = getbalance(...);
$percent = $balance / $needmoney * 100;
BitCoinDream
Legendary
*
Offline Offline

Activity: 1246

The revolution will be digital


View Profile
February 19, 2014, 06: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.

escrow.ms
Legendary
*
Offline Offline

Activity: 1106

GPG Key-ID: B82BA7E1 | I don't use skype.


View Profile
February 19, 2014, 07:21:58 PM
 #4

Thank you elbandi, I have Found this http://pastie.org/pastes/8318722#18,21  

Thanks again.

Please click here to know why I have negative feedback. https://21.co/escrow/
Tip address: 1nPfxnncZqWvVP4UHT6XLfNzfaik7akQS
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!