The API for money exchange for Major currency in the world and I've add the TRA market currency.
- Written in full python
import currencyapi
currency= currency.major()
-
This will return the following dictionary *
currency= { "EUR/USD": {"BUY": buying_price, "SELL": selling_price}, "USD/JPY": {"BUY": buying_price, "SELL": selling_price}, "GPD/USD": {"BUY": buying_price, "SELL": selling_price}, "USD/CHF": {"BUY": buying_price, "SELL": selling_price}, }
-
E.g to access EUR/USD buying price
currency=currency.major() pair=currency["EUR/USD"]["BUY"]
currency=currency.tra()