~curious/xch

Smol, simple & smart exchange rate conversion CLI tool
4c55a8ba — CuriouslyCurious 1 year, 9 months ago
Make the README actually relevant
c398322f — CuriouslyCurious 1 year, 9 months ago
Add GPLv3 license
5a6cbb58 — CuriouslyCurious 1 year, 9 months ago
Add initial MVP

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~curious/xch
read/write
git@git.sr.ht:~curious/xch

You can also use your local clone with git send-email.

#xch - smol currency eXCHange tool

xch is a smol CLI currency exchange program to facilitate quickly and efficiently getting the latest exchange rate data from the Swedish Nasdaq exchange through Sveriges Riksbank's (Sweden's Central Bank) public REST API. The program only retrieves the currencies that are requested, while also caching any data retrieved from the API to both have a quicker response time and prevent unnecessary network traffic.

#TODO

  • [ ] - sensible argument parsing
    • [ ] - look into not using clap because it is too big
  • [ ] - caching data to prevent hammering the REST API
    • [x] - currency data
    • [ ] - exchange rate(s)
  • [ ] - get the latest exchange rate
    • [x] - for SEK to FOO
    • [ ] - for FOO to BAR (needs the exchange rate API endpoint instead)
  • [ ] - querying historical data
  • [ ] - displaying all available currencies in a table format
    • [ ] - held up by the REST API not yet supporting the request of several exchange rates at the same time

#Credits

For all data this program uses "Sveriges Riksbank" public REST API. xch is in no way affiliated with Riksbanken and is grateful for having its data be freely available to use.

#License

See LICENSE.

Do not follow this link