Pages:
Author

Topic: *Free* Realtime $ to BTC bbcode image service - page 2. (Read 5125 times)

sr. member
Activity: 462
Merit: 250
It's all about the game, and how you play it
September 03, 2011, 01:50:42 PM
#20
Is there a way to get this to support rounding? ex 29.889 rounded to 29.9
sr. member
Activity: 243
Merit: 250
BTCrow.com
September 02, 2011, 11:37:28 AM
#19
Bump for your pleasure.

That's a very nice tool for merchant, Thanks for this.
full member
Activity: 188
Merit: 100
September 02, 2011, 10:12:02 AM
#18
Bump for your pleasure.
member
Activity: 70
Merit: 10
Only a curious passer-by / FirstBits: 13zsc1
Both changes have been made, feedback/bugs/donations are welcome. Next thing coming will be toggling from 24hr weighted average to last traded price.

That was fast! Thanks, it's ok and at the moment I have not seen bugs.

full member
Activity: 188
Merit: 100
Both changes have been made, feedback/bugs/donations are welcome. Next thing coming will be toggling from 24hr weighted average to last traded price.
newbie
Activity: 56
Merit: 0
I'll get to both those things later tonight.

i'll donate when it's done  Smiley
full member
Activity: 188
Merit: 100
I'll get to both those things later tonight.
newbie
Activity: 56
Merit: 0
what i mean was, i want it to look like this or better:

since it looks bold and large here:


And also can you do USD ~> BTC script?
member
Activity: 70
Merit: 10
Only a curious passer-by / FirstBits: 13zsc1
That's nice but i would like to do the opposite process. For example: Showing how many CLPs are 1 BTC.

Thanks.
full member
Activity: 188
Merit: 100
You mean a different font? If theres really any need for it, I could add it...
newbie
Activity: 56
Merit: 0
Different kind of text used in the image?
full member
Activity: 188
Merit: 100
Switched to 24hr weighted prices from bitcoincharts, now supports a load of currencies.
full member
Activity: 188
Merit: 100
Could you use the weighted prices from http://bitcoincharts.com/t/weighted_prices.json ? Cheesy

Yea I'd be ok with doing the 24hr one. I'll do that tonight.
full member
Activity: 134
Merit: 100
There's no place like 127.0.0.1
Could you use the weighted prices from http://bitcoincharts.com/t/weighted_prices.json ? Cheesy
newbie
Activity: 56
Merit: 0
Does this use 24hr Weighted Average Price from Mtgox?

Option to use CampBX Average price also?
full member
Activity: 188
Merit: 100
Done. If you've used this in a post, you'll need to edit out your own BTC that you added. Feel free to request anything else too.

Also added CAD currency.
member
Activity: 85
Merit: 10
Thanks for making this useful tool.
Agreed, you should add BTC to the image as well.

newbie
Activity: 56
Merit: 0
Make the image include "btc" like the other one.
full member
Activity: 134
Merit: 100
There's no place like 127.0.0.1
Looks very nice, finally some EUR support Tongue
full member
Activity: 188
Merit: 100
#Updated 29/08/2011



Usage:

Code:
[img]http://irage.ca/2btc.php?a=&c=&d=[/img]

Where a = The price you are asking for
          c = The currency your price is in (default USD)*
          d = Number of decimal points (default 2)*
          s = Font size to use (default 10)*
          b = Set bold flag (default off)* ie. b=1 will turn bold on
          r = Reverse calculation, determine value of specified amount of bitcoins (default off)* ie. r=1 will turn reverse on

*Note: These arguments are optional.
   
eg.
Code:
[img]http://irage.ca/2btc.php?a=&d=[/img]

Current supported currencies: USD, EUR, CAD, GBP, AUD, RUB, BGN, CNY, SLL, BRL, INR, PLN, CLP via bitcoincharts.com 24h (or 7d if not available) weighted averages


Examples:

Code:
[img]http://irage.ca/2btc.php?a=250&c=USD[/img]
Produces -->

Code:
[img]http://irage.ca/2btc.php?a=12&d=5[/img]
Produces -->

Code:
[img]http://irage.ca/2btc.php?a=15&c=CAD&d=2&r=1&s=16&b=1[/img]
Produces -->

If there is a trailing 0, it is left off.
This is a work in progress. Please message me with any comments/bugs.

Donations: 15G8VXfzyteVKtTE1mDWZ6EHVA9BMRvNjR
Pages:
Jump to: