duckduckgo / zeroclickinfo-spice

DuckDuckGo Instant Answers based on JavaScript (JSON) APIs
https://duckduckhack.com/
Other
548 stars 942 forks source link

Bitcoin: Should support the "m btc to usd" and "n usd to btc". We already have WolframAlpha, but it's a bit slow. #431

Closed jagtalon closed 10 years ago

jagtalon commented 10 years ago

We currently support "bitcoin eur" which just shows the buy and sell value. We should also add the ability to convert.

It doesn't have to use the same end-point. Checkout other Bitcoin API providers such as Coinbase.

ScreapDK commented 10 years ago

I guess this is working now, right? ;)

I mean I see the following queries working: 10 USD in BTC outputs ฿0.02 (bitcoins) - $10 (US dollars). 2 BTC in USD outputs $1172.52 (US dollars) - ฿2 (bitcoins). 0.2 BTC in DKK outputs 652.85 kr (Danish kroner) - ฿0.20 (bitcoins). 100 DKK in BTC outputs ฿0.03 (bitcoins).

mintsoft commented 10 years ago

@ScreapDK I think Jag's intention is that the Bitcoin spice should handle this, currently the answer is given by WolframAlpha

jagtalon commented 10 years ago

@mintsoft You're right about that. :)

jagtalon commented 10 years ago

Changed the subject of the issue.

ScreapDK commented 10 years ago

Great! Got it! (... 2 weeks, but didn't have time to reply.)

jagtalon commented 10 years ago

Should be fixed once https://github.com/duckduckgo/zeroclickinfo-spice/pull/983 gets merged.