Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulodiniz/xe
Realtime currency conversion for Elixir
https://github.com/paulodiniz/xe
Last synced: 2 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-02T00:46:50.000Z (almost 9 years ago)
- Last Synced: 2024-10-07T10:41:58.052Z (3 months ago)
- Language: Elixir
- Homepage:
- Size: 23.4 KB
- Stars: 22
- Watchers: 3
- 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
[![Continuous Integration](https://img.shields.io/travis/paulodiniz/xe/master.svg)](https://travis-ci.org/paulodiniz/xe)
[![Code Coverage](https://img.shields.io/coveralls/paulodiniz/xe/master.svg)](https://coveralls.io/github/paulodiniz/xe)
[![Documentation](http://inch-ci.org/github/paulodiniz/xe.svg)](http://inch-ci.org/github/paulodiniz/xe)
[![Package](https://img.shields.io/hexpm/dt/xe.svg)](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!