Post
Topic
Board Project Development
Re: PHP code for current Bitcoin price on your website
by
jon@bitcoinads.com
on 26/08/2014, 04:02:39 UTC
What the heck?

I can hit the api with a browser get request but...

php:
file_get_contents('http://api.bitcoincharts.com/v1/weighted_prices.json');

or

terminal:
curl http://bitcoincharts.com/t/weighted_prices.json

are not able to connect.

What am I missing?