Bitcoin Forum

Other => Beginners & Help => Topic started by: thewayshegoes on March 14, 2013, 09:42:12 PM



Title: Bitcoin price ticker?
Post by: thewayshegoes on March 14, 2013, 09:42:12 PM
I've tried looking for information on this but couldn't find anything.  I'm looking for a simple script that will let me show a live mtGox Bitcoin price ticker on my website.  I don't want to steal anyone's script, so I was wondering if there is a ticker script somewhere that I would be able to copy and use on my site.  Sorry if this has been asked before, and thanks in advance.


Title: Re: Bitcoin price ticker?
Post by: Puppet on March 14, 2013, 10:01:53 PM
http://data.mtgox.com/api/1/BTCUSD/ticker
just decode the json and pick the value you want to use.


Title: Re: Bitcoin price ticker?
Post by: jamh on March 27, 2013, 03:15:34 AM
Can you elaborate on this please?  Total tard here


Title: Re: Bitcoin price ticker?
Post by: DataPlumber on March 27, 2013, 03:22:23 AM
Can you elaborate on this please?  Total tard here
In that case, ignore anything that has the acronym "json" in it.

Try this one:
http://bitcoinity.org/markets (http://bitcoinity.org/markets)


Title: Re: Bitcoin price ticker?
Post by: jamh on March 27, 2013, 03:22:43 PM
Haha thanks but like the original post said, I would like to be able to implement my own price ticker in a website.  I get that you have to retrieve the JSON object and decode it, I keep running into a  'get_object_vars() expects parameter 1 to be object, null given', when trying to pass the result from json_decode() to get_object_vars() so that I can actually see them.

Was just hoping someone could clarify what I'm doing wrong.


Title: Re: Bitcoin price ticker?
Post by: DataPlumber on March 27, 2013, 03:43:01 PM
Haha thanks but like the original post said, I would like to be able to implement my own price ticker in a website.  I get that you have to retrieve the JSON object and decode it, I keep running into a  'get_object_vars() expects parameter 1 to be object, null given', when trying to pass the result from json_decode() to get_object_vars() so that I can actually see them.

Was just hoping someone could clarify what I'm doing wrong.
What language is that?  PHP?


Title: Re: Bitcoin price ticker?
Post by: nfhoward on March 27, 2013, 03:45:10 PM
Would anyone be interested in a physical bitcoin ticker.

IE a LED "sports/stock" ticker that shows the current Bitcoin price. I've been working on figuring out how to get it started.
You'd have to have the LED plugged into a USB port at all times to receive the power/info but it's not THAT hard.


Title: Re: Bitcoin price ticker?
Post by: mindtomatter on March 27, 2013, 04:27:59 PM
Do you have any intention to go to market with something like that?  Might be a fun thing