Bitcoin Forum
March 19, 2024, 02:49:11 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Introducing bitcoin_simple_php_tools for webmasters  (Read 9269 times)
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
March 11, 2012, 05:06:49 AM
Last edit: September 17, 2012, 04:53:29 AM by neofutur
 #1

 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
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710816551
Hero Member
*
Offline Offline

Posts: 1710816551

View Profile Personal Message (Offline)

Ignore
1710816551
Reply with quote  #2

1710816551
Report to moderator
1710816551
Hero Member
*
Offline Offline

Posts: 1710816551

View Profile Personal Message (Offline)

Ignore
1710816551
Reply with quote  #2

1710816551
Report to moderator
1710816551
Hero Member
*
Offline Offline

Posts: 1710816551

View Profile Personal Message (Offline)

Ignore
1710816551
Reply with quote  #2

1710816551
Report to moderator
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
March 11, 2012, 11:13:10 AM
Last edit: March 11, 2012, 05:02:39 PM by neofutur
 #2

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
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
March 12, 2012, 02:36:19 PM
Last edit: September 06, 2012, 12:16:13 PM by neofutur
 #3

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.
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
March 14, 2012, 07:24:14 AM
Last edit: September 06, 2012, 12:15:37 PM by neofutur
 #4

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=eur

Liberate
Member
**
Offline Offline

Activity: 70
Merit: 10


Freedom is Free


View Profile
March 19, 2012, 03:33:08 PM
 #5

Sorry if im missing it in your post, where do you get the figures?

Will code for coins, python c#, php(+html, jss, sql) scripts can also pen testing(not a skid) PM me https://bitcointalk.org/index.php?topic=71889.msg813212#msg813212

BTC: 1X8Uwr6vxtuudvxgPv9SqP2c6omWUC3qn
LTC: LaZ8A9YTHbNiFuhRFdCt7KNRuU2XFPXgfA
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
March 19, 2012, 10:12:22 PM
Last edit: September 06, 2012, 12:13:50 PM by neofutur
 #6

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.
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
September 06, 2012, 10:47:24 AM
Last edit: September 09, 2012, 10:15:05 PM by neofutur
 #7

 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 !
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
September 10, 2012, 05:03:08 AM
 #8

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
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
September 14, 2012, 10:29:37 PM
 #9

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
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
September 16, 2012, 03:54:46 AM
 #10

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
neofutur (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100



View Profile
September 17, 2012, 04:49:39 AM
 #11

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

SysRun
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Portland Bitcoin Group Organizer


View Profile
September 17, 2012, 05:00:01 AM
 #12

very nice, thanks.

Images are not allowed. As your member rank increases, you can use more types of styling in your signature, and your signature can be longer. See the stickies in Meta for more info.
Max 2000; characters remaining: 1781
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!