我想在 HTML 文档上显示“当前比特币价格”。我找到了https://mtgox.com/api/0/data/ticker.php,它返回:
{"ticker":{"high":12.43,"low":11.7,"avg":12.10615987,"vwap":12.098317306,"vol":58453,"last_all":12.34351,"last_local":12.34351,"last":12.34351,"buy":12.3341,"sell":12.34351}}
如何将 PHP 变量设置为last_all
(12.34351) 的值?