Call the Currency Converter API from Ruby with a single request — here's the whole thing, key included.
require "net/http"
uri = URI("https://api.apiverve.com/v1/currencyconverter")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.bodySwap YOUR_API_KEY for the key on your dashboard. See the reference for the exact parameters this endpoint accepts.
from"USD"to"EUR"value1convertedValue0.921456rate0.921456change24h-0.002134