Pages:
Author

Topic: Bitcoin Price Image Generator (Read 7057 times)

legendary
Activity: 3052
Merit: 1031
RIP Mommy
vh
hero member
Activity: 699
Merit: 666
June 17, 2017, 06:08:38 PM
#28
"This tool relies on the global weighted average from BitcoinAverage."

https://api.bitcoinaverage.com is down.
legendary
Activity: 3052
Merit: 1031
RIP Mommy
legendary
Activity: 3052
Merit: 1031
RIP Mommy
July 06, 2015, 06:08:17 PM
#26
I didn't really document it, but you can now pin the image to any currency supported by BitcoinAverage here: https://api.bitcoinaverage.com/ticker/global/
Code:
/advimg?price=10EUR
hero member
Activity: 546
Merit: 500
January 25, 2015, 08:05:55 AM
#25
I changed address to
Code:
[img] http://pravicar.comyr.com/generateImage/index.php/?VALUE=10&CUR=USD&TYPE=24h_avg&TIMESTAMP=YES&PRECISION=7&COLOR=00FFFF&SIZE=12&FONT=calibri [/img]

because they closed my previous free hosting.

legendary
Activity: 1316
Merit: 1003
December 02, 2014, 04:20:40 PM
#24
Finally somebody has made the effort.
THX man.
hero member
Activity: 546
Merit: 500
December 01, 2014, 09:53:03 PM
#23
I made this:

But it is hosted on free server so I would really appreciate some donation or access to any server.
Link is:
Code:
[img] http://amacar.hostei.com/generateImage/index.php/?VALUE=10&CUR=USD&TYPE=24h_avg&TIMESTAMP=YES&PRECISION=7&COLOR=00FFFF&SIZE=12&FONT=calibri [/img]

Parameter VALUE is just amount you want to convert to BTC
Parameter CUR is currency and could be any value from: https://bitcoinaverage.com ('USD', 'EUR', 'GBP', 'CAD'...), default is USD.
Parameter TYPE could be 'ask', 'bid', '24h_avg', 'last', default is last.
If parameter TIMESTAMP is 'yes', then timestamp is added to image, otherwise no. Default is no timestamp added.
Parameter PRECISION allows you to round calculated value to decimals. Default is 5.
Parameter COLOR will change text color. Accept HEX values, default is black.
Parameter SIZE is size of text, default is 11.
FONT is font of text, default is arial.

Currently supported fonts (can add more):
legendary
Activity: 1316
Merit: 1003
October 01, 2014, 03:35:12 AM
#22
Could you add EUR support?
legendary
Activity: 3052
Merit: 1031
RIP Mommy
August 17, 2014, 04:20:30 PM
#21
And it's not following BitcoinAverage last; around 1.8 BTC short on a $21328 conversion right now. This is like the third or fourth unreliable ticker I've gone through.
legendary
Activity: 3052
Merit: 1031
RIP Mommy
August 14, 2014, 08:31:10 PM
#20
It's fixed.

I wanted a little weekend project and it seemed like there was a need for this!

The bitcoin price image generator is a simple tool that creates a dynamic image of a price in BTC, based on a fixed USD price.
Please let me know what you think! Any suggestions?

Security Alert!

this device shares your web usage data with the owner of fizzisist.com for every page you embed the widget in.

I don't think it can do that on here through the new bitcointalk image proxy.
legendary
Activity: 3052
Merit: 1031
RIP Mommy
August 13, 2014, 07:37:22 PM
#19
http://btc-priceimg.herokuapp.com/img/100

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Code:
[img]http://btc-priceimg.herokuapp.com/img/100[/img]
sr. member
Activity: 280
Merit: 257
bluemeanie
December 12, 2013, 03:01:27 PM
#18
I wanted a little weekend project and it seemed like there was a need for this!

The bitcoin price image generator is a simple tool that creates a dynamic image of a price in BTC, based on a fixed USD price.
Please let me know what you think! Any suggestions?

Security Alert!

this device shares your web usage data with the owner of fizzisist.com for every page you embed the widget in.
hero member
Activity: 720
Merit: 525
December 12, 2013, 08:53:53 AM
#17
Something's going wrong Sad Now the images aren't showing up.
Error: Mt Gox error

Yeah, it looks like the Mt Gox API was down for a bit. I'm thinking about switching to a different exchange, or maybe even making it an average of a few. Any suggestions of which one(s) I should use?

It would also be possible to let the user specify the exchange to use when generating the image.

Thoughts?
legendary
Activity: 1316
Merit: 1003
December 12, 2013, 06:22:08 AM
#16
Something's going wrong Sad Now the images aren't showing up.
I see the images just fine.
Its just that the forum is caching images through a third party now, which yields wrong results for quotes already cached.
legendary
Activity: 1078
Merit: 1003
December 11, 2013, 07:58:09 PM
#15
Something's going wrong Sad Now the images aren't showing up.
legendary
Activity: 1316
Merit: 1003
August 14, 2013, 01:58:36 AM
#14
Could you provide 24h average?
sr. member
Activity: 252
Merit: 250
April 28, 2013, 01:51:08 AM
#13
Any Chance you could make one similar but for the popular alt coins, I would definitely give you a nice tip for that Cheesy

I'll gladly do that. All I need is an API to get exchange rates. Got a link?
https://btc-e.com/api/documentation

Ok, done! I added it at a separate URL (advimg). It accepts arguments as a GET request. Please test!

Example image:



Code:
http://fizzisist.com/priceimg/advimg?price=10.00¤cy=LTC

Explanation is on the main page: http://fizzisist.com/priceimg
A tip is headed your way fine dir, I thank you
hero member
Activity: 720
Merit: 525
April 27, 2013, 05:11:39 PM
#12
Any Chance you could make one similar but for the popular alt coins, I would definitely give you a nice tip for that Cheesy

I'll gladly do that. All I need is an API to get exchange rates. Got a link?
https://btc-e.com/api/documentation

Ok, done! I added it at a separate URL (advimg). It accepts arguments as a GET request. Please test!

Example image:



Code:
http://fizzisist.com/priceimg/advimg?price=10.00¤cy=LTC

Explanation is on the main page: http://fizzisist.com/priceimg
sr. member
Activity: 252
Merit: 250
April 26, 2013, 01:18:10 PM
#11
Any Chance you could make one similar but for the popular alt coins, I would definitely give you a nice tip for that Cheesy

I'll gladly do that. All I need is an API to get exchange rates. Got a link?
https://btc-e.com/api/documentation
hero member
Activity: 720
Merit: 525
April 26, 2013, 11:47:41 AM
#10
Any Chance you could make one similar but for the popular alt coins, I would definitely give you a nice tip for that Cheesy

I'll gladly do that. All I need is an API to get exchange rates. Got a link?
Pages:
Jump to: