https://github.com/paulodiniz/xe
Realtime currency conversion for Elixir
https://github.com/paulodiniz/xe
Last synced: 15 days ago
JSON representation
Realtime currency conversion for Elixir
- Host: GitHub
- URL: https://github.com/paulodiniz/xe
- Owner: paulodiniz
- Created: 2016-02-01T22:28:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-02T00:46:50.000Z (about 9 years ago)
- Last Synced: 2025-03-13T03:51:44.259Z (about 1 month ago)
- Language: Elixir
- Homepage:
- Size: 23.4 KB
- Stars: 22
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Real time conversion for currencies. (Third Party APIs)
- fucking-awesome-elixir - xe - Real time conversion for currencies. (Third Party APIs)
- awesome-elixir - xe - Real time conversion for currencies. (Third Party APIs)
README
# Xe
[](https://travis-ci.org/paulodiniz/xe)
[](https://coveralls.io/github/paulodiniz/xe)
[](http://inch-ci.org/github/paulodiniz/xe)
[](https://hex.pm/packages/xe)Xe is a dead-simple way of converting between currencies. It uses real-time conversion rates from [Xe.com](http://www.xe.com)
## Example
```elixir
iex(1)> Xe.rates("USD", "EUR")
{:ok, {1.00, 0.891482}}
```## Installation
1. Add `xe` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:xe, "~> 0.0.1"}]
end
```2. Drink your :tea:
3. Enjoy!