ruby-forex-quotes is a Ruby Library for fetching realtime forex quotes
Table of Contents
- Support / Contact
- License / Terms
- An API key which you can obtain for free at http://1forge.com/forex-data-api
gem install forex_quotes
Instantiate the client
#You can get an API key for free at 1forge.com client = ForexDataClient.new('YOUR_API_KEY')
Get the list of available symbols:
Get quotes for specified symbols:
Convert from one currency to another:
client.convert('EUR', 'USD', 100)
Check if the market is open:
Check your usage / quota limit:
Thank you for considering contributing! Any issues, bug fixes, suggestions, improvements or help in any other way is always appreciated. Please feel free to open an issue or create a pull request.
Support and Contact
Please contact me at email@example.com if you have any questions or requests.
License and Terms
This library is provided without warranty under the MIT license.