Accounting API
Exchange Rates
List All Rates
this api endpoint ( get get ) retrieves all the exchange rates for a specific currency if the request succeeds, it returns an array of exchange rate object docid 7lnasjpbyb2xppxz0dx8o query parameters currency appendix docid\ kfbmx4q3dxjtduqf75yx1 fetch the exchange rates for a specific currency require "uri" require "net/http" url = uri("https //api tamio com/v2/exchange/list?currency=eur") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["authorization"] = "bearer your token here" response = https request(request) puts response read body var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("authorization", "bearer your token here"); var requestoptions = { method 'get', headers myheaders }; fetch("https //api tamio com/v2/exchange/list", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));curl location request get 'https //api tamio com/v2/exchange/list' \\ \ header 'accept application/json' \\ \ header 'authorization bearer your token here'import requests url = "https //api tamio com/v2/exchange/list" payload={} headers = { 'accept' 'application/json', 'authorization' 'bearer your token here' } response = requests request("get", url, headers=headers, data=payload) print(response text) { "status" 200, "base" "all", "rates" \[ { "id" 2403, "from" "eur", "to" "gbp", "rate" 0 854917, "created at" "2019 10 15 12 00 53 +0000", "updated at" "2021 07 27 12 00 33 +0000" } // additional rates ] }