Hi cyj100 –
You’ll have to specify the keys that you want to display, either with the key
parameter or by using the {}
tags in a block. Here are examples of both.
Just display the “high” value:
[json src="http://www.yuanbaohui.com/api/ticker" key="high"]
Display more than one key using template tags:
[json src="http://www.yuanbaohui.com/api/ticker"]High: {high}, Low: {low}, Buy: {buy}, Sell: {sell}, Last: {last}, Vol: {vol}[/json]
Please let me know if you have any other questions!
– David
Thread Starter
cyj100
(@cyj100)
Thank you reply.
I try these below. but nothing appear, it’s strange:
[json src=”http://www.yuanbaohui.com/api/ticker” key=”low” /]
[json src=”http://www.yuanbaohui.com/api/ticker” key=”low”]
[json src=”http://www.yuanbaohui.com/api/ticker” lifetime=”30″]teset {high} why{1}, {key} {value} {high.value} {high.key} why [/json]
test it
[json name=”Trade” key=”high”]test test[/json]
[json src=”http://developer.yahooapis.com/TimeService/V1/getTime?appid=YahooDemo&output=json” lifetime=”30″]At the {Result}tone, the time will be: {Result.Timestamp}[/json]
[json src=”http://www.coinchoose.com/api.php”%5D something {symbol} {1} {key.symbol}[/json]
I’m happy to help – this is very strange.
You’ve got a mix of formats that should work and formats that won’t work. Are you trying them all on the same page? If you are, try separating them on to their own pages and see if that improves things.
Does nothing at all appear, or is it showing the text but not the data?
Thread Starter
cyj100
(@cyj100)
showing the text but not the data.
can’t show any data.