Bitcoin Forum

Bitcoin => Project Development => Topic started by: neofutur on March 11, 2012, 05:06:49 AM



Title: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on March 11, 2012, 05:06:49 AM
 I finally found the time to develop the small useful tools most webmasters ( imho, but at least me :p ) will need :
 code on github (https://github.com/neofutur/bitcoin_simple_php_tools)

 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
http://p.b.gw.gd/it/it.png

or vertical :
http://p.b.gw.gd/it/iv.php
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 :

http://p.b.gw.gd/ip/b.php?u=1
 
http://p.b.gw.gd/ip/b.php?u=33

price from btc to currency :

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

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

http://p.b.gw.gd/ip/p.php?b=2&c=eur
 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


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: fanquake on March 11, 2012, 10:48:19 AM
I see you've made use of my WP widget :)


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on March 11, 2012, 11:13:10 AM
I see you've made use of my WP widget :)

 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 ;)


Title: Adding a new tool : the imageticker
Post by: neofutur on March 12, 2012, 02:36:19 PM
latest version adding the imageticker to the imageprice ( http://bitcoin.gw.gd/bitcoin_simple_php_tools/imageticker/imageticker.png ) :

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.


Title: adding a new tool : imageprice from btc to currency
Post by: neofutur on March 14, 2012, 07:24:14 AM
adding price from btc to currency :

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

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

http://bitcoin.gw.gd/bitcoin_simple_php_tools/ip/p.php?b=1&c=eur

http://bitcoin.gw.gd/bitcoin_simple_php_tools/ip/p.php?b=1&c=eur


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: Liberate on March 19, 2012, 03:33:08 PM
Sorry if im missing it in your post, where do you get the figures?


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on March 19, 2012, 10:12:22 PM
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.


Title: addin a new tool : the RSS pricing feed
Post by: neofutur on September 06, 2012, 10:47:24 AM
 I just added a new tool , the RSS pricing feed.

code on :

 https://github.com/neofutur/bitcoin_simple_php_tools/commit/2d2aa301a01e194155757bf0751f1fd43e254b35

 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/pricefeed/bitcoin_price_feed.php?format=short
fullticker : http://p.b.gw.gd/pricefeed/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

As always, comments and pull requests welcome !


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on September 10, 2012, 05:03:08 AM
Just added a new tool the trades feed :

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

source on https://github.com/neofutur/bitcoin_simple_php_tools/commit/8b1a7333c253709876aa9d7c00017ca2aee3ce22

recommended use :
https://addons.mozilla.org/en-US/firefox/addon/rss-ticker/ +
          http://p.b.gw.gd/tf/bitcoin_trade_feed.php +
          http://p.b.gw.gd/pricefeed/bitcoin_price_feed.php?format=short


Title: Adding support for btc-e price and trade feeds
Post by: neofutur on September 14, 2012, 10:29:37 PM
more rss feeds, for btc-e exchange :

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


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on September 16, 2012, 03:54:46 AM
more rss feeds, for bitstamp exchange :

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


Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: neofutur on September 17, 2012, 04:49:39 AM
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



Title: Re: Introducing bitcoin_simple_php_tools for webmasters
Post by: SysRun on September 17, 2012, 05:00:01 AM
very nice, thanks.