You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td><a href="https://apilayer.com/marketplace/fixer-api">Fixer</a> is a simple and lightweight API for foreign exchange rates that supports up to 170 world currencies.</td>
<td><a href="https://currencylayer.com">currencylayer</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
<td><a href="https://apilayer.com/marketplace/currency_data-api">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
<td><a href="https://exchangeratesapi.io">exchangeratesapi</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
<td><a href="https://apilayer.com/marketplace/exchangerates_data-api">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
<td><a href="https://www.abstractapi.com/">Abstract</a> provides simple exchange rates for developers and a dozen of APIs covering thousands of use cases.</td>
31
31
</tr>
32
32
</table>
@@ -41,9 +41,9 @@ Here is the complete list of the currently implemented services:
41
41
42
42
| Service | Base Currency | Quote Currency | Historical |
<td><a href="https://apilayer.com/marketplace/fixer-api">Fixer</a> is a simple and lightweight API for foreign exchange rates that supports up to 170 world currencies.</td>
<td><a href="https://currencylayer.com">currencylayer</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
<td><a href="https://apilayer.com/marketplace/currency_data-api">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
<td><a href="https://exchangeratesapi.io">exchangeratesapi</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
<td><a href="https://apilayer.com/marketplace/exchangerates_data-api">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
<td><a href="https://www.abstractapi.com/">Abstract</a> provides simple exchange rates for developers and a dozen of APIs covering thousands of use cases.</td>
21
21
</tr>
22
22
</table>
@@ -62,9 +62,9 @@ The complete list of all supported services is available [here](https://github.c
62
62
63
63
```php
64
64
use Http\Client\Curl\Client as CurlClient;
65
-
use Exchanger\Service\Fixer;
66
-
use Exchanger\Service\CurrencyLayer;
67
-
use Exchanger\Service\ExchangeRatesApi;
65
+
use Exchanger\Service\ApiLayer\CurrencyData;
66
+
use Exchanger\Service\ApiLayer\ExchangeRatesData;
67
+
use Exchanger\Service\ApiLayer\Fixer;
68
68
use Exchanger\Service\AbstractApi;
69
69
use Exchanger\Exchanger;
70
70
@@ -74,17 +74,17 @@ $options = [
74
74
];
75
75
$client = new CurlClient(null, null, $options);
76
76
77
-
// Use the Fixer.io service
78
-
$service = new Fixer($client, null, ['access_key' => 'YOUR_KEY']);
77
+
// Use the Fixer service
78
+
$service = new Fixer($client, null, ['api_key' => 'Get your key here: https://apilayer.com/marketplace/fixer-api']);
0 commit comments