require_once(DIR.'/Forex.php');
$forex = new Forex_Functions();
Your access Key is the unique key that is passed into the function Get your access key
$forex->set_access_key($api_key);
Set your API response format.
Default: JSON
Valid Values: JSON, JSONP, object, XML, serialize and array
$forex->set_output_type('JSON');
Return All symbols
If the value of top_symbol=1, It will return a list of popular currencies.
$forex->get_symbols_list();
By profile API, you can get the profiles of the different currencies by passing their IDs, Symbols or Single currency short name
$forex->get_profile('1,2,3');