Ruby-Forex-Quotes ist eine Ruby-Bibliothek zum Abrufen von Echtzeit-Forex-Zitaten
gem 'forex_quotes', github: 'testdouble/ruby-forex-quotes', branch: 'main'
client = ForexDataClient . new ( 'YOUR_API_KEY' )
client . get_rate ( from : 'USD' , to : 'JPY' )
# { :JPY => 1049.31 }
client . convert ( from : 'USD' , to : 'JPY' , amount : 100 )
# { :JPY => 14900.45 }
Diese Bibliothek wird im Rahmen der MIT -Lizenz ohne Garantie bereitgestellt.