At the end of this assignment I had something that worked. I actually built an REST API. Currency rates are stored in a database. When a call is made, the stored currency rates will either be used as they are, or if they are out of date, new rates will be fetched and those will be used. That's basically it.