Author

Topic: Introducing bitcoin_simple_php_tools for webmasters (Read 9270 times)

hero member
Activity: 616
Merit: 500
Portland Bitcoin Group Organizer
very nice, thanks.
full member
Activity: 146
Merit: 100
full member
Activity: 146
Merit: 100
full member
Activity: 146
Merit: 100
full member
Activity: 146
Merit: 100
Sorry if im missing it in your post, where do you get the figures?

 not sure I understand your question, but I build them with PHP and GD code.

find the code on https://github.com/neofutur/bitcoin_simple_php_tools

 the quotes and tickers are directly from mtgox, using the mtgox API, I m currently adding a caching system to not hit the API too often.

 pull requests welcome to add support for other exchanges.
member
Activity: 70
Merit: 10
Freedom is Free
Sorry if im missing it in your post, where do you get the figures?
full member
Activity: 146
Merit: 100
latest version adding the imageticker to the imageprice ( http://bitcoin.gw.gd/bitcoin_simple_php_tools/imageticker/imageticker.png ) :



also serving ticker as txt or html on :
http://bitcoin.gw.gd/bitcoin_simple_php_tools/tickers/ticker_usd_btc.php

PS: again, dont rely on those URLS to add prices or tickers to your websites or forum posts, the service will move soon, http://bitcoin.gw.gd/bitcoin_simple_php_tools is just a temporary address for demo, not yet a stable public price server.
full member
Activity: 146
Merit: 100
I see you've made use of my WP widget Smiley

 Yup, removed some things WP related, but probably still have to remove many things I dont need, for now I mainly concentrated on the imageprice_server.

 fordy: comments, contributions and pull requests welcome Wink
full member
Activity: 146
Merit: 100
 I finally found the time to develop the small useful tools most webmasters ( imho, but at least me :p ) will need :
code on github

 for now the only working tools are :

tickers in HTML format:

http://p.b.gw.gd/ti/ticker_eur_btc.php
http://p.b.gw.gd/ti/ticker_usd_btc.php

tickers in TEXT format:

http://p.b.gw.gd/ti/ticker_eur_btc.php?type=text
http://p.b.gw.gd/ti/ticker_usd_btc.php?type=text
http://p.b.gw.gd/ti/miniticker.php

imageticker :

line :
http://p.b.gw.gd/it/it.png


or vertical :
http://p.b.gw.gd/it/iv.php


imageprice FIAT2BTC :

tool to convert a usd or eur price to btc "on the fly" :
http://p.b.gw.gd/ip/b.php?usdprice=200

 and as an image you can include it on a forum post :


 


price from btc to currency :

http://p.b.gw.gd/ip/p.php?b=1&c=usd




 comments and pull requests welcome on https://github.com/neofutur/bitcoin_simple_php_tools

 see them all gathered on my personal URL shortener : http://gw.gd and pastebin : http://p.gw.gd/

the RSS pricing feed.

 A RSS feed with a ( cached ) bitcoin price ( mtgox last )  or full ticker .

 For now only one option, the format ( short or fullticker ), more options coming for currency, image feeed . . .

examples :
short format : http://p.b.gw.gd/pf/bitcoin_price_feed.php?format=short
fullticker : http://p.b.gw.gd/pf/bitcoin_price_feed.php?format=fullticker

valid RSS feed :
http://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Fp.b.gw.gd%2Fpf%2Fbitcoin_price_feed.php%3Fformat%3Dshort
http://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Fp.b.gw.gd%2Fpf%2Fbitcoin_price_feed.php%3Fformat%3Dfullticker


the RSS trades feed.

 A RSS feed with a ( updated every 30 seconds ) bitcoin trades ( mtgox trades ).

examples :
http://p.b.gw.gd/tf/bitcoin_trade_feed.php

If you also want btc-e feeds add :

http://p.b.gw.gd/tradefeed/btce_trade_feed.php?format=short
http://p.b.gw.gd/pricefeed/bitcoin_btceprice_feed.php

If you also want bitstamp feeds add :

http://p.b.gw.gd/tradefeed/bitstamp_trade_feed.php
http://p.b.gw.gd/pricefeed/bitstamp_price_feed.php

added support for intersango USD market :

http://p.b.gw.gd/pricefeed/intersango_price_feed.php
http://p.b.gw.gd/tradefeed/intersango_trade_feed.php
And the bitcoin news feed

we also provide a selection of bitcoin news with the news feed :

http://bitcoin.gw.gd/spip.php?page=backend&id_rubrique=1

PS : dont rely on the urls above, I ll move the service to another url soon, if you want to use those tools, you have to use the source : https://github.com/neofutur/bitcoin_simple_php_tools ; I can also set it up on your own hosting for a few BTCs
PS2: I can develop any needed option ( config rounding, config show_usd_or_not, color, size . . . ) for 2 or 3 btcs
PS3: any partnership idea welcome to set up btcprice tool as a public bitcoin service anyone can use
PS4: all proces, trades, tickers . . . . are direct from mtgox using the API , pull requests welcome if you want to add support for other exchanges.

donations : 1va4sqj5AFnMYicD7JzhDfxauk5w6Uuug
Jump to: