Class AvailableCurrencies

java.lang.Object
net.thauvin.erik.frankfurter.AvailableCurrencies

public final class AvailableCurrencies extends Object
The AvailableCurrencies class is a utility class that provides methods to retrieve information about available currencies.
  • Method Details

    • getCurrencies

      public static Currencies getCurrencies() throws IOException, JsonSyntaxException
      Fetches the collection of available currencies and their corresponding full names.
      Returns:
      A Currencies object containing a map of available currency symbols to their full names
      Throws:
      IOException - If an input or output exception occurs during the API request
      JsonSyntaxException - If the JSON response from the API does not match the expected format