Bitcoin Forum
September 18, 2019, 08:51:12 AM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoinprices.js - have human-friendly Bitcoin prices on any web page  (Read 1580 times)
miohtama
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile WWW
December 13, 2013, 10:18:16 PM
 #1

I'd like to introduce you to my weekend project, bitcoinprices.js:

http://miohtama.github.io/bitcoin-prices/index.html

bitcoinprices.js is a JavaScript library for human-friendly Bitcoin price presentation and conversion.
bitcoinprices.js can be dropped on your web page. It presents the Bitcoin prices in the fiat currency chosen by the user,
making prices friendly to read. bitcoinprices.js works on any HTML page.

The project was born out from the frustration, because many small Bitcoin eCommerce sites have prices only in raw BTC.
This makes it very hard for an average eCommerce site user to value the sold items.

The exchange rates data is sourced from bitcoinaverage.com, but this can be easily changed.

Kudos for bitcoinaverage.com guys for the great service.

See the source code on Github:

https://github.com/miohtama/bitcoin-prices

1568796672
Hero Member
*
Offline Offline

Posts: 1568796672

View Profile Personal Message (Offline)

Ignore
1568796672
Reply with quote  #2

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

Activity: 70
Merit: 10

+Pro Traders on LocalBitcoins.com


View Profile WWW
.
December 14, 2013, 12:37:13 AM
Last edit: February 04, 2014, 07:43:59 PM by BitcoinTristate
 #2

.

    BitcoinTristate  ☎+1-917-686-6420   ..::Highest Volume Trader on Localbitcoins.com::..
    100% Feedback   $20,000 Daily Liquidity  15 Minute Cash in / Cash out   Western Union | MoneyGram | MoneyPak | CashDeposit |
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
December 14, 2013, 01:55:38 AM
 #3

I'd like to introduce you to my weekend project, bitcoinprices.js:

http://miohtama.github.io/bitcoin-prices/index.html

bitcoinprices.js is a JavaScript library for human-friendly Bitcoin price presentation and conversion.
bitcoinprices.js can be dropped on your web page. It presents the Bitcoin prices in the fiat currency chosen by the user,
making prices friendly to read. bitcoinprices.js works on any HTML page.

The project was born out from the frustration, because many small Bitcoin eCommerce sites have prices only in raw BTC.
This makes it very hard for an average eCommerce site user to value the sold items.

The exchange rates data is sourced from bitcoinaverage.com, but this can be easily changed.

Kudos for bitcoinaverage.com guys for the great service.

See the source code on Github:

https://github.com/miohtama/bitcoin-prices



Excellent work. And great to stick the code on GitHub. I'm still staggered with people that launch something bitcoin-related, don't release the source code and expect people to just "trust them"
miohtama
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile WWW
December 14, 2013, 08:18:05 AM
 #4

Cool. Please drop me an email if you need hlep with anything  Smiley
miohtama
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile WWW
February 03, 2014, 09:49:41 PM
 #5

There is now a sister project, bitcoinaddress.js.

More about it in thread here:

https://bitcointalk.org/index.php?topic=447572.msg4919484#msg4919484
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


I'm NOT affiliated with adcoin.me site in any way!


View Profile
February 06, 2014, 09:19:08 AM
 #6

Nice! keep up the good work. =)
miohtama
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile WWW
April 03, 2014, 07:44:08 AM
 #7

Hi,

Some updates. bitcoinprices.js now supports pricing your products in USD, EUR and other fiat and then converting those to BTC in-fly. This makes it dead simple to drop to any eCommerce site which wants show prices in Bitcoin or converted to your native currency.

Here is a Drupal + UberCart store Time For Plan B selling Bitcoin stuff: http://timeforplanb.org/store (click Show Prices in BTC). Only Bitcoin payment is available. They use BitPay for the checkouts.

Drupal is a popular PHP-based content management system. UberCart is its eCommerce addon. Now bitcoinprices.js have been adapted for those.

I have also updated README for instructions for UberCart in integration:

https://github.com/miohtama/bitcoin-prices

Screenshot

http://i.imgur.com/ikb3rVa.png

lewisg
Sr. Member
****
Offline Offline

Activity: 281
Merit: 250


View Profile
April 03, 2014, 08:26:29 AM
 #8

quite easy to implement on my site.

miohtama
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile WWW
July 09, 2014, 09:16:38 AM
 #9

quite easy to implement on my site.

Care to share which site?  Smiley
BitcoinAverage
Full Member
***
Offline Offline

Activity: 147
Merit: 102



View Profile WWW
July 09, 2014, 02:50:58 PM
Last edit: July 09, 2014, 03:01:03 PM by BitcoinAverage
 #10

Great job! please contact us if you need anything specific from our API, version 2 is on its way so if you need something custom do let us know.

Suggestion - change the ticker URL to pull our global average, this will then support 170+ global currencies if that's something you think the users of this would appreciate Smiley

https://api.bitcoinaverage.com/ticker/global/all

Free Live Price Data: https://BitcoinAverage.com/ - API: https://apiv2.bitcoinaverage.com/ - Twitter: https://twitter.com/BitcoinAverage
BitcoinAverage (Blockchain Data LTD) © 2012-2017
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!