Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

umsatz/currency-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

currency-exchange

Build Status

api for past and present currency exchange rates

The API requires you to import euro exchange informations as available from the ECB. See the Makefile for more details.

currency-exchange api

Actual JSON api for currency exchange rates.

To run:

$ exchange -historic.data=/path/euroxml-hist.xml -http.addr=:8080
  curl http://localhost:8080/rates/2013-02-20
  {
    "date": "2010-07-14",
    "rates": {
        "GBP": 0.8343,
        "USD": 1.2703
    }
  }