mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 11:02:30 +01:00
ba31595709
Bumps [rack-cors](https://github.com/cyu/rack-cors) from 1.0.3 to 1.0.5. - [Release notes](https://github.com/cyu/rack-cors/releases) - [Changelog](https://github.com/cyu/rack-cors/blob/master/CHANGELOG.md) - [Commits](https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.5) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
bin | ||
config | ||
db/migrate | ||
lib | ||
spec | ||
.dockerignore | ||
.env.example | ||
.gitignore | ||
.rubocop.yml | ||
.ruby-version | ||
.travis.yml | ||
app.json | ||
config.ru | ||
docker-compose.override.yml | ||
docker-compose.prod.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
limit_req.conf | ||
Procfile | ||
Rakefile | ||
README.md |
Frankfurter
Frankfurter is a free, open-source currency data API that tracks reference exchange rates published by the European Central Bank.
Frankfurter was known as Fixer until March 2018, when I sold the domain. After the buyer abandoned the underlying open-source project, I relaunched under this name.
Getting Started
Get the latest exchange rates.
GET /latest HTTP/1.1
Get rates for a past date.
GET /2000-01-03 HTTP/1.1
Get rates for a period.
GET /2010-01-01..2010-01-31 HTTP/1.1
For further examples, read the docs.
Deployment
You can self-host Frankfurter easily with Docker.
docker run -d -p 8080:8080 \
-e "DATABASE_URL=<postgres_url>" \
--name frankfurter hakanensari/frankfurter
Check out the website for a more detailed walkthrough.