Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: digitalindustry on November 27, 2013, 04:55:28 AM



Title: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: digitalindustry on November 27, 2013, 04:55:28 AM


either in a little drop down box - or a ticker rolling

can it be done !


lets post a bounty !


Title: Re: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: bitspill on December 01, 2013, 08:01:33 AM
http://qrk.bitspill.net/json

Here is a link to fetch the current fiat value of 1 qrk.
The prices are calculated by using the last trading price of cryptsy.com for qrk/btc followed up with the last average btc/fiat from bitcoinaverage.com

Data is updated every 15 minutes currently

Sample data
Code:
{
  "AUD": 0.247255463,
  "BRL": 0.618907471,
  "CAD": 0.200290944,
  "CNY": 1.2949630890000001,
  "CZK": 4.850480243,
  "EUR": 0.158573359,
  "GBP": 0.14412587,
  "ILS": 0.65926,
  "JPY": 22.4924,
  "NOK": 1.224718936,
  "NZD": 0.23463257299999998,
  "PLN": 0.662626104,
  "RUB": 6.524465479,
  "SEK": 1.447713631,
  "SGD": 0.27146,
  "USD": 0.2066974,
  "ZAR": 2.376401559,
  "timestamp": "Sun, 01 Dec 2013 07:47:30 -0000"
}


Title: Re: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: bitspill on December 01, 2013, 08:50:11 AM
502 – Bad Gateway
Still online for me...


Title: Re: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: bitspill on December 03, 2013, 01:31:01 AM
There was actually a bug in the 15 minute update that would crash the server and 5 minutes later the 20minute watchdog would revive it, so that's why it seemed to be online 3/4 of the time.

Should be fixed and working now without a hitch.


Title: Re: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: victzhang on December 03, 2013, 02:11:37 AM
Great script!  :D
I think we should put this on the OP of Quark official thread?


Title: Re: next move is a USD EUR AUD RUB ¥ - ticker for our website Will pay in QRK !!!
Post by: bitspill on December 03, 2013, 03:47:43 AM
Should I keep it as simple as that or are there any more features you want in the simple api?