karan / Projects

:page_with_curl: A list of practical projects that anyone can solve in any programming language.
https://twitter.com/karangoel
MIT License
44.58k stars 10.52k forks source link

Currency Converter #74

Open tiikeri opened 9 years ago

tiikeri commented 9 years ago

I've already made something for this, and I think it would be interesting to see how people would do it in other languages. :smile:

JayDex18 commented 9 years ago

Does this fetch live exchange rates or has a specific refresh interval ?

tiikeri commented 9 years ago

It should fetch live exchange rates, but can be placed on interval. An example of it in [Bash] shell script is here. In my case, I fetched exchange rates from Google's Finance API using wget.

sbelidhe commented 6 years ago

Please refer to code CurrencyConverter written in java using currencylayer API as both Yahoo and Google has decommissioned the API call which was used before for currency conversion. Also note that to parse JSON ouput returned from currencylayer API call used json-simple-1.1 library

charleslarnold commented 4 years ago

I wrote a currency converter in python