Bitcoin Forum
November 18, 2018, 11:17:17 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Progress bar/Coinbase API.  (Read 473 times)
escrow.ms
Legendary
*
Offline Offline

Activity: 1246
Merit: 1004

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.
1542539837
Hero Member
*
Offline Offline

Posts: 1542539837

View Profile Personal Message (Offline)

Ignore
1542539837
Reply with quote  #2

1542539837
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542539837
Hero Member
*
Offline Offline

Posts: 1542539837

View Profile Personal Message (Offline)

Ignore
1542539837
Reply with quote  #2

1542539837
Report to moderator
1542539837
Hero Member
*
Offline Offline

Posts: 1542539837

View Profile Personal Message (Offline)

Ignore
1542539837
Reply with quote  #2

1542539837
Report to moderator
1542539837
Hero Member
*
Offline Offline

Posts: 1542539837

View Profile Personal Message (Offline)

Ignore
1542539837
Reply with quote  #2

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

Activity: 516
Merit: 503


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

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

Activity: 1344
Merit: 1004

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: 1246
Merit: 1004

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.
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!