Go to file
Hakan Ensari 6feaa0c372 Do housekeeping
- Bump ruby to 3.0.1
- Upgrade gems
- Add suggested rubocop rake plugin
- Fix rubocop warnings
- Add byebug and pry
2021-05-11 12:26:01 +01:00
.github Do housekeeping 2021-05-11 12:26:01 +01:00
bin Work around ecb rate limiting 2020-04-02 14:38:07 +01:00
config Remove obsolete file 2020-05-02 19:42:53 +01:00
db/migrate Denormalise database schema 2018-10-07 01:08:45 +01:00
lib Do housekeeping 2021-05-11 12:26:01 +01:00
spec Do housekeeping 2021-05-11 12:26:01 +01:00
.dockerignore Remove docker-compose files 2021-04-24 21:37:09 +01:00
.env.example Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
.gitignore Clean up ignores 2019-12-20 01:02:07 +00:00
.rubocop_todo.yml Do housekeeping 2021-05-11 12:26:01 +01:00
.rubocop.yml Do housekeeping 2021-05-11 12:26:01 +01:00
.ruby-version Do housekeeping 2021-05-11 12:26:01 +01:00
CHANGELOG.md Root returns link to docs 2020-05-02 19:38:36 +01:00
config.ru Switch to Roda 2020-05-08 14:50:09 +01:00
Dockerfile Do housekeeping 2021-05-11 12:26:01 +01:00
Gemfile Do housekeeping 2021-05-11 12:26:01 +01:00
Gemfile.lock Do housekeeping 2021-05-11 12:26:01 +01:00
LICENSE Remove dates from license 2017-01-03 12:44:13 +00:00
Rakefile Repack app 2018-03-08 23:51:36 +00:00
README.md Remove Heroku deploy button 2021-04-24 21:41:08 +01:00

Frankfurter

Build

Frankfurter is a free and open-source currency data API that tracks reference exchange rates published by the European Central Bank.

api.frankfurter.app hosts a public instance of the API.

Getting Started

Get the latest exchange rates.

https://api.frankfurter.app/latest

Get rates for a past date.

https://api.frankfurter.app/2000-01-03

Get rates for a period.

https://api.frankfurter.app/2010-01-01..2010-01-31

For more examples, read the docs.

Deployment

You can self-host Frankfurter with Docker.

docker run -d -p 8080:8080 \
  -e "DATABASE_URL=<postgres_url>" \
  --name frankfurter hakanensari/frankfurter

Miscellaneous

Frankfurter was known as Fixer between 2012 and 2018. After selling the original domain, I relaunched under this name.