This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
Currency: Better triggers for precious metals #1421
Comments
@moollaza "Gold price", "gold prices today", and "gold price per ounce" sound more natural and that's what people usually search for (according to search suggestions). |
@w25 I agree! all of those are excellent triggers that this IA should be able to detect |
@moollaza I would like to work on this issue. |
@moollaza do you which API can i use to get the results? |
@gabhi You will be able to use the existing XE.com API which is included in the currency IA. See https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Currency.pm#L38 |
Thanks @MrChrisW |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://duck.co/ideas/idea/4797/add-commodities-to-valuta-ratios
Right now you must use the ISO 4217 codes to indicated Gold, Silver, Platinum and Palladium. We should add some logic to except those names and related terms like "ounce", "ounces", "oz", so we can handle queries like "1oz Gold in USD"
IA Page: https://duck.co/ia/view/currency
The text was updated successfully, but these errors were encountered: