How to get current BTC rate for BRL(real) using php cURL or javascript Is there anyway to get current rate of BRL = BTC.

I saw the blockchiain ticker. But the value for BRL currency is not updated 
As listed here in preev.
I want to get the

 current 1BTC= how much BRL


Thanks in advance!
BitPay have a JSON API on https://bitpay.com/api/rates
You can get BRL value with this command and calculate, (this API update every 1 minute)

curl -ks https://bitpay.com/api/rates | python -m json.tool | grep -iA 1 'Brasilian Real' | grep -i 'rate' | cut -f2 -d ':' | tr -d ' '




You will need:
- CURL
- Python 2.7+
- grep + cut + tr