wizardingexchange

command module
v0.0.0-...-c48c082 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2019 License: MIT Imports: 12 Imported by: 0

README

Wizarding Exchange API

This is the backend for the wizarding exchange website.

Design

It's a rather simple API that takes an amount and a currency, and proceeds to convert it into Galleons, Sickles and Knuts.

The conversion base came from this reddit post.

The Fixer API is used to convert between the base currency(EURO) and the other currencies.

Because the Fixer API provides a limited amount of calls, I decided to also implement a simple "cache" solution. It stores the results from the fixer API into a json file and stores them for up to 1 day. I did look for regular cache options, but they were all a bit too much overkill for what I needed to achieve.

Purpose

I just wanted to make something in GO and the idea of another TODO list app or blog made my eyes water.

License: MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL