From f6b0695940f1702b13b0c3fb5bd3ebb43e27e5b7 Mon Sep 17 00:00:00 2001 From: Artur Smolarek Date: Sun, 16 Aug 2020 12:06:09 +0200 Subject: [PATCH] xChangeApi.com support --- README.md | 1 + config/swap.php | 4 ++++ doc/readme.md | 1 + 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index a3d1ba3..2da1ae5 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,7 @@ Here is the list of the currently implemented services: | [Open Exchange Rates](https://openexchangerates.org) | USD (free), * (paid) | * | Yes | | [Xignite](https://www.xignite.com) | * | * | Yes | | [Currency Converter API](https://www.currencyconverterapi.com) | * | * | Yes (free but limited or paid) | +| [xChangeApi.com](https://xchangeapi.com) | * | * | Yes | | Array | * | * | Yes | ## Credits diff --git a/config/swap.php b/config/swap.php index e1e56a1..41b0644 100644 --- a/config/swap.php +++ b/config/swap.php @@ -72,6 +72,10 @@ | 'api_key' => 'access_key', // The API token | 'enterprise' => true, // True if your AppId is an enterprise one | ] + | + | * 'xchangeapi' => [ + | 'api-key' => 'secret', // The API token + | ] | */ diff --git a/doc/readme.md b/doc/readme.md index ee9ae53..e2756c9 100644 --- a/doc/readme.md +++ b/doc/readme.md @@ -360,6 +360,7 @@ Here is the complete list of supported services and their possible configuration 'currency_data_feed' => ['api_key' => 'secret'], 'open_exchange_rates' => ['app_id' => 'secret', 'enterprise' => false], 'xignite' => ['token' => 'token'], + 'xchangeapi' => ['api-key' => 'api-key'], 'array' => [ [ 'EUR/USD' => 1.1,